summaryrefslogtreecommitdiffstats
path: root/arch/mips/cpu/mips64
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2014-10-26 14:16:23 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2014-11-01 18:18:05 +0100
commit837cad1e47d2e8a81956140d37ee23f5d3c07de6 (patch)
treecfd0d0c41781c381a7a5fb72c88a88c662d2d8de /arch/mips/cpu/mips64
parent4207917867d4bf3dc071ca0ed0ddf5955cfcc55d (diff)
downloadblackbird-obmc-uboot-837cad1e47d2e8a81956140d37ee23f5d3c07de6.tar.gz
blackbird-obmc-uboot-837cad1e47d2e8a81956140d37ee23f5d3c07de6.zip
MIPS: refactor setting of compiler options
Refactor and unify all compiler settings in arch/mips/config.mk. Also add tune flags for each supported CPU type. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'arch/mips/cpu/mips64')
-rw-r--r--arch/mips/cpu/mips64/config.mk14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/mips/cpu/mips64/config.mk b/arch/mips/cpu/mips64/config.mk
index c55eb7f2ee..96eb82948d 100644
--- a/arch/mips/cpu/mips64/config.mk
+++ b/arch/mips/cpu/mips64/config.mk
@@ -5,19 +5,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
-#
-# Default optimization level for MIPS64
-#
-# Note: Toolchains with binutils prior to v2.16
-# are no longer supported by U-Boot MIPS tree!
-#
-PLATFORM_CPPFLAGS += -DCONFIG_MIPS64 -march=mips64
-PLATFORM_CPPFLAGS += -mabi=64 -DCONFIG_64BIT
-ifdef CONFIG_SYS_BIG_ENDIAN
-PLATFORM_LDFLAGS += -m elf64btsmip
-else
-PLATFORM_LDFLAGS += -m elf64ltsmip
-endif
-
CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 \
-T $(srctree)/examples/standalone/mips64.lds
OpenPOWER on IntegriCloud