summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>2012-04-02 02:57:56 +0000
committerMarek Vasut <marex@denx.de>2012-04-02 15:54:53 +0200
commit6cb461b4f1531dbae5c0bae857f649b7943114ec (patch)
treebd8df91ecc1ebbd2d2cef76bfd1940b74e9920ee /include
parent979cfeaf36bf8719d4a1a98f1e8a3e16ef3d1fba (diff)
downloadu-boot-imx-6cb461b4f1531dbae5c0bae857f649b7943114ec.zip
u-boot-imx-6cb461b4f1531dbae5c0bae857f649b7943114ec.tar.gz
u-boot-imx-6cb461b4f1531dbae5c0bae857f649b7943114ec.tar.bz2
MIPS: fix endianess handling
Make endianess of target CPU configurable. Use the new config option for dbau1550_el and pb1000 boards. Adapt linking of standalone applications to pass through endianess options to LD. Build tested with: - ELDK 4 mips_4KC- and mips4KCle - Sourcery CodeBench Lite 2011.03-93 With this patch all 26 MIPS boards can be compiled now in one step by running "MAKEALL -a mips". Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/pb1x00.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/pb1x00.h b/include/configs/pb1x00.h
index eea8ed3..d056884 100644
--- a/include/configs/pb1x00.h
+++ b/include/configs/pb1x00.h
@@ -46,6 +46,8 @@
#endif
#endif
+#define CONFIG_SYS_LITTLE_ENDIAN
+
#define CONFIG_ETHADDR DE:AD:BE:EF:01:01 /* Ethernet address */
#define CONFIG_BOOTDELAY 2 /* autoboot after 2 seconds */