[coreboot-gerrit] Patch set updated for coreboot: bbe9b73 console: Allow bootblock console on MIPS
Patrick Georgi (pgeorgi@google.com)
gerrit at coreboot.org
Sat Mar 21 14:09:21 CET 2015
Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8769
-gerrit
commit bbe9b733a78bf26efc6aaddae37f7673d9e91135
Author: Paul Burton <paul.burton at imgtec.com>
Date: Sat Jun 14 00:04:33 2014 +0100
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 at chromium.org>
Original-Commit-Id: 1a41853273ef9ae716d5645379fcef79c5771b87
Original-Change-Id: I41f03ea8c8104ba2dd9f532b084696385d29636c
Original-Signed-off-by: Paul Burton <paul.burton at imgtec.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/207973
Original-Reviewed-by: Aaron Durbin <adurbin at chromium.org>
Original-Tested-by: Vadim Bendebury <vbendeb at chromium.org>
Original-Commit-Queue: Vadim Bendebury <vbendeb at chromium.org>
---
src/console/Kconfig | 2 +-
toolchain.inc | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/console/Kconfig b/src/console/Kconfig
index e686506..0a0e069 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -2,7 +2,7 @@ menu "Console"
config BOOTBLOCK_CONSOLE
bool "Enable early (bootblock) console output."
- depends on ARCH_ARM || ARCH_RISCV
+ depends on ARCH_ARM || ARCH_RISCV || ARCH_MIPS
default n
help
Use console during the bootblock if supported
diff --git a/toolchain.inc b/toolchain.inc
index 83f478b..d69fe26 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
More information about the coreboot-gerrit
mailing list