diff options
author | Marek Vasut <marex@denx.de> | 2015-11-26 21:48:00 +0100 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-12-02 08:40:36 -0500 |
commit | f2ca704cbb0722da8f43b1f99b07e6fac32dc0f6 (patch) | |
tree | 7a950505fcb07ca5a9af063ec0577e36d8832dbd /Utilities | |
parent | b4a2ada297214119647b26df8abe394cd73ca53a (diff) | |
download | cmake-f2ca704cbb0722da8f43b1f99b07e6fac32dc0f6.tar.gz |
Add NIOS2 CPU support
Add necessary bits to support the NIOS2 little-endian CPU.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Walter Goossens <waltergoossens@home.nl>
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/KWIML/ABI.h.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/KWIML/ABI.h.in b/Utilities/KWIML/ABI.h.in index 6300ada4e4..87b6e96dac 100644 --- a/Utilities/KWIML/ABI.h.in +++ b/Utilities/KWIML/ABI.h.in @@ -398,6 +398,10 @@ suppression macro @KWIML@_ABI_NO_VERIFY was defined. #elif defined(__mips) || defined(__mips__) || defined(__MIPS__) # define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG +/* NIOS2 */ +#elif defined(__NIOS2__) || defined(__NIOS2) || defined(__nios2__) +# define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_LITTLE + /* OpenRISC 1000 */ #elif defined(__or1k__) # define @KWIML@_ABI_ENDIAN_ID @KWIML@_ABI_ENDIAN_ID_BIG |