summaryrefslogtreecommitdiff
path: root/arch/microblaze/bits
diff options
context:
space:
mode:
Diffstat (limited to 'arch/microblaze/bits')
-rw-r--r--arch/microblaze/bits/endian.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/bits/endian.h b/arch/microblaze/bits/endian.h
index ef074b77..d82a92ac 100644
--- a/arch/microblaze/bits/endian.h
+++ b/arch/microblaze/bits/endian.h
@@ -1 +1,5 @@
+#if __MICROBLAZEEL__
+#define __BYTE_ORDER __LITTLE_ENDIAN
+#else
#define __BYTE_ORDER __BIG_ENDIAN
+#endif