summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2019-01-15 00:05:46 +0100
committerNico Huber <nico.h@gmx.de>2019-01-16 11:07:11 +0000
commitf86baf3e903ddd81369b9ef7605fb5463498cbff (patch)
tree7b7575bb7e57ded10ebc24d8255a34a4fa66a86b
parent65ca24c02e0e9738781d4ca4d0cb3397cf9c2328 (diff)
downloadcoreboot-f86baf3e903ddd81369b9ef7605fb5463498cbff.tar.xz
soc/samsung/exynos5420: Disable BOOTBLOCK_CONSOLE
Add a new Kconfig NO_BOOTBLOCK_CONSOLE to disable the BOOTBLOCK_CONSOLE option completely. The commit message of fbb11cf (ARM: Separate the early console (romstage) from the bootblock console.) states that it doesn't work before romstage on Exynos 5420. Change-Id: I9b56a52f2555b5233300f27031a9ef50e7ab7cea Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/30926 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r--src/console/Kconfig5
-rw-r--r--src/soc/samsung/exynos5420/Kconfig1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/console/Kconfig b/src/console/Kconfig
index 82f7441f3a..61ba667d59 100644
--- a/src/console/Kconfig
+++ b/src/console/Kconfig
@@ -1,8 +1,11 @@
menu "Console"
+config NO_BOOTBLOCK_CONSOLE
+ bool
+
config BOOTBLOCK_CONSOLE
bool "Enable early (bootblock) console output."
- depends on C_ENVIRONMENT_BOOTBLOCK
+ depends on C_ENVIRONMENT_BOOTBLOCK && !NO_BOOTBLOCK_CONSOLE
default y
help
Use console during the bootblock if supported
diff --git a/src/soc/samsung/exynos5420/Kconfig b/src/soc/samsung/exynos5420/Kconfig
index 7fb2f8f07c..7b87650fa9 100644
--- a/src/soc/samsung/exynos5420/Kconfig
+++ b/src/soc/samsung/exynos5420/Kconfig
@@ -7,6 +7,7 @@ config CPU_SAMSUNG_EXYNOS5420
select GENERIC_UDELAY
select HAVE_UART_SPECIAL
select RELOCATABLE_MODULES
+ select NO_BOOTBLOCK_CONSOLE
bool
default n