summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-10-12 20:48:01 +0200
committerWolfgang Denk <wd@denx.de>2010-10-12 20:48:01 +0200
commit655c54975296002587c705e05c23754edb121c2c (patch)
treeff970d8d467a7fddb8fa6217e1533a028cb4c036 /arch/microblaze/include/asm
parent0ee8746a93e29a3d884f19598409a3bea8ff51ab (diff)
parentb98cba0911c7d0c0486d600c2aa646395adf32f4 (diff)
downloadtalos-obmc-uboot-655c54975296002587c705e05c23754edb121c2c.tar.gz
talos-obmc-uboot-655c54975296002587c705e05c23754edb121c2c.zip
Merge branch 'master' of git://git.denx.de/u-boot-microblaze
Diffstat (limited to 'arch/microblaze/include/asm')
-rw-r--r--arch/microblaze/include/asm/byteorder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/include/asm/byteorder.h b/arch/microblaze/include/asm/byteorder.h
index a4a75b7a6d..b2757a41f8 100644
--- a/arch/microblaze/include/asm/byteorder.h
+++ b/arch/microblaze/include/asm/byteorder.h
@@ -50,6 +50,10 @@ static __inline__ __u16 ___arch__swab16 (__u16 half_word)
#endif /* __GNUC__ */
+#ifdef __MICROBLAZEEL__
+#include <linux/byteorder/little_endian.h>
+#else
#include <linux/byteorder/big_endian.h>
+#endif
#endif /* __MICROBLAZE_BYTEORDER_H__ */
OpenPOWER on IntegriCloud