summaryrefslogtreecommitdiff
path: root/arch/mips/cpu/mips32
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-08-21 23:27:37 +0200
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2012-08-24 00:34:43 +0200
commit2c0e3de384f6a3323a1ffbf5db390b3081c3e102 (patch)
tree00ab584b5fd0d49c3f22bccdaa184e5119237efe /arch/mips/cpu/mips32
parentd2aa5dca74fcf8cbe7fa1f27606a5663bb52d3e6 (diff)
downloadu-boot-imx-2c0e3de384f6a3323a1ffbf5db390b3081c3e102.zip
u-boot-imx-2c0e3de384f6a3323a1ffbf5db390b3081c3e102.tar.gz
u-boot-imx-2c0e3de384f6a3323a1ffbf5db390b3081c3e102.tar.bz2
MIPS: factor out endianess flag handling to arch config.mk
This is CPU independent and should be configured architecture-wide. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/cpu/mips32')
-rw-r--r--arch/mips/cpu/mips32/config.mk19
1 files changed, 1 insertions, 18 deletions
diff --git a/arch/mips/cpu/mips32/config.mk b/arch/mips/cpu/mips32/config.mk
index a1cd590..a0e4de5 100644
--- a/arch/mips/cpu/mips32/config.mk
+++ b/arch/mips/cpu/mips32/config.mk
@@ -29,21 +29,4 @@
#
MIPSFLAGS := -march=mips32r2
-# Handle special prefix in ELDK 4.0 toolchain
-ifneq (,$(findstring 4KCle,$(CROSS_COMPILE)))
-ENDIANNESS := -EL
-endif
-
-ifdef CONFIG_SYS_LITTLE_ENDIAN
-ENDIANNESS := -EL
-endif
-
-ifdef CONFIG_SYS_BIG_ENDIAN
-ENDIANNESS := -EB
-endif
-
-# Default to EB if no endianess is configured
-ENDIANNESS ?= -EB
-
-PLATFORM_CPPFLAGS += $(MIPSFLAGS) $(ENDIANNESS)
-PLATFORM_LDFLAGS += $(ENDIANNESS)
+PLATFORM_CPPFLAGS += $(MIPSFLAGS)