console: Simplify bootblock console Kconfig selection logic
Instead of depending BOOTBLOCK_CONSOLE on a set of architectures, allow the arch or platform to specify whether it can provide a C environment. This simplifies the selection logic. Change-Id: Ia3e41796d9aea197cee0a073acce63761823c3aa Signed-off-by: Alexandru Gagniuc <alexandrux.gagniuc@intel.com> Reviewed-on: https://review.coreboot.org/12871 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
committed by
Aaron Durbin
parent
cc96624de4
commit
ee464b17ce
@@ -2,7 +2,7 @@ menu "Console"
|
||||
|
||||
config BOOTBLOCK_CONSOLE
|
||||
bool "Enable early (bootblock) console output."
|
||||
depends on ARCH_ARM || ARCH_ARM64 || ARCH_RISCV || ARCH_MIPS
|
||||
depends on C_ENVIRONMENT_BOOTBLOCK
|
||||
default n
|
||||
help
|
||||
Use console during the bootblock if supported
|
||||
|
Reference in New Issue
Block a user