Make EARLY_CONSOLE optional

This change brings back the possibility to disable console
output while in romstage, like before commit d2f45c65.

For some platforms (AMD multi-socket) USBDEBUG and/or CBMEM
CONSOLE do not work correctly for romstage due the way
cache-as-ram is set up, but might already work for ramstage.

Change-Id: Id8d830e02a18129af419d3b5860866acf315d531
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3846
Tested-by: build bot (Jenkins)
Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Kyösti Mälkki 2013-07-31 20:52:04 +03:00
parent cec611a0ea
commit da940c5835
2 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,7 @@ config BOOTBLOCK_CONSOLE
config EARLY_CONSOLE config EARLY_CONSOLE
bool "Enable early (pre-RAM) console output." bool "Enable early (pre-RAM) console output."
default y if CACHE_AS_RAM
default n default n
help help
Use console during early (pre-RAM) boot stages Use console during early (pre-RAM) boot stages

View File

@ -20,7 +20,6 @@ source src/cpu/x86/Kconfig
config CACHE_AS_RAM config CACHE_AS_RAM
bool bool
select EARLY_CONSOLE
default !ROMCC default !ROMCC
config DCACHE_RAM_BASE config DCACHE_RAM_BASE