Simplify early / bootblock console code

Change-Id: I6b28bb95c7decbe3eed33b5b5a029bee48bbe403
Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/3691
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Stefan Reinauer 2013-06-19 13:42:00 -07:00 committed by Stefan Reinauer
parent b919809afe
commit d2f45c6516
5 changed files with 6 additions and 15 deletions

View File

@ -1,22 +1,15 @@
menu "Console"
config DEFAULT_BOOTBLOCK_CONSOLE
bool
default n
config BOOTBLOCK_CONSOLE
bool "Enable early (bootblock) console output."
default DEFAULT_BOOTBLOCK_CONSOLE
depends on ARCH_ARMV7
default n
help
Use console during the bootblock if supported
config DEFAULT_EARLY_CONSOLE
bool
default n
config EARLY_CONSOLE
bool "Enable early (pre-RAM) console output."
default DEFAULT_EARLY_CONSOLE
default n
help
Use console during early (pre-RAM) boot stages

View File

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

View File

@ -2,8 +2,7 @@ config CPU_SAMSUNG_EXYNOS5250
depends on ARCH_ARMV7
select HAVE_MONOTONIC_TIMER
select HAVE_UART_SPECIAL
select DEFAULT_BOOTBLOCK_CONSOLE
select DEFAULT_EARLY_CONSOLE
select EARLY_CONSOLE
bool
default n

View File

@ -2,7 +2,7 @@ config CPU_SAMSUNG_EXYNOS5420
depends on ARCH_ARMV7
select HAVE_MONOTONIC_TIMER
select HAVE_UART_SPECIAL
select DEFAULT_EARLY_CONSOLE
select EARLY_CONSOLE
bool
default n

View File

@ -26,7 +26,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
select ARCH_ARMV7
select CPU_ARMLTD_CORTEX_A9
select HAVE_UART_MEMORY_MAPPED
select DEFAULT_EARLY_CONSOLE
select HAVE_UART_SPECIAL
select BOARD_ROMSIZE_KB_4096