aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain.inc
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2014-06-14 00:04:33 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-03-23 15:35:06 +0100
commit6ea3eff6b79d249122033457c7e2f7f8c61334f2 (patch)
treed188e39a763a6eff003cfec2b4e2a0ca96a26050 /toolchain.inc
parent197b801f192dff36eb24c70886158658b5ad164d (diff)
downloadcoreboot-6ea3eff6b79d249122033457c7e2f7f8c61334f2.tar.gz
coreboot-6ea3eff6b79d249122033457c7e2f7f8c61334f2.tar.xz
coreboot-6ea3eff6b79d249122033457c7e2f7f8c61334f2.zip
console: Allow bootblock console on MIPS
In addition to ARM based systems, allow MIPS based systems to select bootblock console support. BUG=chrome-os-partner:31438 TEST=none yet Change-Id: I40e5d8b651102709118878a317f7e983a617f433 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 1a41853273ef9ae716d5645379fcef79c5771b87 Original-Change-Id: I41f03ea8c8104ba2dd9f532b084696385d29636c Original-Signed-off-by: Paul Burton <paul.burton@imgtec.com> Original-Reviewed-on: https://chromium-review.googlesource.com/207973 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Original-Tested-by: Vadim Bendebury <vbendeb@chromium.org> Original-Commit-Queue: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: http://review.coreboot.org/8769 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain.inc b/toolchain.inc
index 83f478b9f..d69fe26e7 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -64,7 +64,8 @@ CFLAGS_arm := -mno-unaligned-access -ffunction-sections -fdata-sections
CFLAGS_arm64 := -ffunction-sections -fdata-sections
-CFLAGS_mipsel := -mips32r2 -G 0 -ffunction-sections -fdata-sections
+CFLAGS_mipsel := -mips32r2 -G 0 -ffunction-sections -fdata-sections
+CFLAGS_mipsel += -mno-abicalls -fno-pic
CFLAGS_x86_32 := -ffunction-sections -fdata-sections