device/Kconfig: Introduce MAINBOARD_FORCE_NATIVE_VGA_INIT
MAINBOARD_FORCE_NATIVE_VGA_INIT is to be selected instead of the user option MAINBOARD_DO_NATIVE_VGA_INIT. The distinction is necessary to use the latter in a choice. Change-Id: I689aa5cadea9e1091180fd38b1dc093c6938d69c Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/19813 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
parent
eb881d46e2
commit
26ce9af9a0
|
@ -16,11 +16,6 @@
|
|||
|
||||
menu "Devices"
|
||||
|
||||
# Only set this in the mainboard
|
||||
config MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
bool
|
||||
default n
|
||||
|
||||
config HAVE_VGA_TEXT_FRAMEBUFFER
|
||||
bool
|
||||
help
|
||||
|
@ -38,6 +33,20 @@ config HAVE_LINEAR_FRAMEBUFFER
|
|||
Selected by graphics drivers that can set up a generic linear
|
||||
framebuffer.
|
||||
|
||||
config MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
def_bool n
|
||||
help
|
||||
Selected by mainboards / drivers that provide native graphics
|
||||
init within coreboot.
|
||||
|
||||
config MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
def_bool n
|
||||
depends on MAINBOARD_HAS_NATIVE_VGA_INIT || MAINBOARD_HAS_LIBGFXINIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
help
|
||||
Selected by mainboards / chipsets whose graphics driver can't or
|
||||
shouldn't be disabled.
|
||||
|
||||
config MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
bool "Use native graphics initialization"
|
||||
depends on MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
|
|
|
@ -32,7 +32,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select HAVE_ACPI_RESUME
|
||||
select DRIVERS_I2C_W83795
|
||||
select DRIVERS_ASPEED_AST2050
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
|
||||
config MAINBOARD_DIR
|
||||
|
|
|
@ -33,7 +33,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select HAVE_ACPI_RESUME
|
||||
select DRIVERS_I2C_W83795
|
||||
select DRIVERS_ASPEED_AST2050
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
|
||||
config MAINBOARD_DIR
|
||||
|
|
|
@ -28,7 +28,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select BOOTBLOCK_CONSOLE
|
||||
select CONSOLE_SERIAL
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select HAVE_LINEAR_FRAMEBUFFER
|
||||
select ARCH_BOOTBLOCK_ARMV7
|
||||
select ARCH_ROMSTAGE_ARMV7
|
||||
|
|
|
@ -11,7 +11,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select HAVE_ACPI_TABLES
|
||||
select BOARD_ROMSIZE_KB_256
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
|
||||
config MAINBOARD_DIR
|
||||
string
|
||||
|
|
|
@ -10,7 +10,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select HAVE_ACPI_TABLES
|
||||
select BOARD_ROMSIZE_KB_2048
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
|
||||
config MAINBOARD_DIR
|
||||
string
|
||||
|
|
|
@ -26,7 +26,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select MAINBOARD_HAS_CHROMEOS
|
||||
select DRIVER_TI_TPS65090
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select HAVE_LINEAR_FRAMEBUFFER
|
||||
|
||||
config VBOOT
|
||||
|
|
|
@ -34,7 +34,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select EC_GOOGLE_CHROMEEC_RTC
|
||||
select EC_GOOGLE_CHROMEEC_SPI
|
||||
select HAVE_HARD_RESET
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select MAINBOARD_HAS_CHROMEOS
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select RAM_CODE_SUPPORT
|
||||
|
|
|
@ -34,7 +34,7 @@ config BOARD_SPECIFIC_OPTIONS
|
|||
select EC_GOOGLE_CHROMEEC
|
||||
select EC_GOOGLE_CHROMEEC_SPI
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select HAVE_LINEAR_FRAMEBUFFER
|
||||
select MAINBOARD_HAS_CHROMEOS
|
||||
select RAM_CODE_SUPPORT
|
||||
|
|
|
@ -22,7 +22,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select EC_GOOGLE_CHROMEEC_SPI
|
||||
select BOARD_ROMSIZE_KB_4096
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select HAVE_LINEAR_FRAMEBUFFER
|
||||
select DRIVER_PARADE_PS8625
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ if BOARD_GOOGLE_BASEBOARD_SLIPPY
|
|||
config VBOOT
|
||||
select EC_GOOGLE_CHROMEEC_SWITCHES
|
||||
select VBOOT_LID_SWITCH
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select VBOOT_VBNV_CMOS
|
||||
|
||||
config MAINBOARD_DIR
|
||||
|
|
|
@ -24,7 +24,7 @@ config BOARD_SPECIFIC_OPTIONS # dummy
|
|||
select EC_GOOGLE_CHROMEEC_I2C
|
||||
select EC_GOOGLE_CHROMEEC_I2C_PROTO3
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select SPI_FLASH
|
||||
select SPI_FLASH_WINBOND
|
||||
select SOC_NVIDIA_TEGRA210
|
||||
|
|
|
@ -14,7 +14,7 @@ config SOC_NVIDIA_TEGRA124
|
|||
select ARM_LPAE
|
||||
select GENERIC_GPIO_LIB
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select HAVE_LINEAR_FRAMEBUFFER
|
||||
|
||||
if SOC_NVIDIA_TEGRA124
|
||||
|
|
|
@ -29,7 +29,7 @@ config SOC_ROCKCHIP_RK3288
|
|||
select RTC
|
||||
select UART_OVERRIDE_REFCLK
|
||||
select MAINBOARD_HAS_NATIVE_VGA_INIT
|
||||
select MAINBOARD_DO_NATIVE_VGA_INIT
|
||||
select MAINBOARD_FORCE_NATIVE_VGA_INIT
|
||||
select HAVE_LINEAR_FRAMEBUFFER
|
||||
|
||||
if SOC_ROCKCHIP_RK3288
|
||||
|
|
Loading…
Reference in New Issue