Simplify early / bootblock console code
BUG=chrome-os-partner:18637 TEST=none BRANCH=none Change-Id: I834639b5e2e3df69ae133bcfb51986480e7ee3ea Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/59321 Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Commit-Queue: Stefan Reinauer <reinauer@chromium.org>
This commit is contained in:
parent
87f380e252
commit
8e1f91dd7e
5 changed files with 6 additions and 15 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ source src/cpu/x86/Kconfig
|
|||
|
||||
config CACHE_AS_RAM
|
||||
bool
|
||||
select DEFAULT_EARLY_CONSOLE
|
||||
select EARLY_CONSOLE
|
||||
default !ROMCC
|
||||
|
||||
config DCACHE_RAM_BASE
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue