MIPS: fix endianess handling
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Mon, 2 Apr 2012 02:57:56 +0000 (02:57 +0000)
committerMarek Vasut <marex@denx.de>
Mon, 2 Apr 2012 13:54:53 +0000 (15:54 +0200)
commit6cb461b4f1531dbae5c0bae857f649b7943114ec
treebd8df91ecc1ebbd2d2cef76bfd1940b74e9920ee
parent979cfeaf36bf8719d4a1a98f1e8a3e16ef3d1fba
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>
README
arch/mips/cpu/mips32/config.mk
boards.cfg
include/configs/pb1x00.h