From a26b02466ec3b089346215906720b60d50382554 Mon Sep 17 00:00:00 2001 From: Tristan Corrick Date: Fri, 21 Dec 2018 23:46:42 +1300 Subject: [PATCH] drivers/aspeed/ast: Select `MAINBOARD_HAS_NATIVE_VGA_INIT` Any board that uses the AST driver will have support for native graphics init. So, select the option in the driver instead of every board. Change-Id: I2bf42c168d1ffdda11857854889b74953abd7e40 Signed-off-by: Tristan Corrick Reviewed-on: https://review.coreboot.org/c/30355 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Nico Huber --- src/drivers/aspeed/ast2050/Kconfig | 1 + src/mainboard/asus/kcma-d8/Kconfig | 1 - src/mainboard/asus/kgpe-d16/Kconfig | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/drivers/aspeed/ast2050/Kconfig b/src/drivers/aspeed/ast2050/Kconfig index 715def8021..337b1817f3 100644 --- a/src/drivers/aspeed/ast2050/Kconfig +++ b/src/drivers/aspeed/ast2050/Kconfig @@ -2,3 +2,4 @@ config DRIVERS_ASPEED_AST2050 bool select DRIVERS_ASPEED_AST_COMMON select HAVE_VGA_TEXT_FRAMEBUFFER + select MAINBOARD_HAS_NATIVE_VGA_INIT diff --git a/src/mainboard/asus/kcma-d8/Kconfig b/src/mainboard/asus/kcma-d8/Kconfig index 229b5ac24f..7d66707bee 100644 --- a/src/mainboard/asus/kcma-d8/Kconfig +++ b/src/mainboard/asus/kcma-d8/Kconfig @@ -31,7 +31,6 @@ config BOARD_SPECIFIC_OPTIONS select DRIVERS_I2C_W83795 select DRIVERS_ASPEED_AST2050 select MAINBOARD_FORCE_NATIVE_VGA_INIT - select MAINBOARD_HAS_NATIVE_VGA_INIT config MAINBOARD_DIR string diff --git a/src/mainboard/asus/kgpe-d16/Kconfig b/src/mainboard/asus/kgpe-d16/Kconfig index d87d9269cc..efdade8eac 100644 --- a/src/mainboard/asus/kgpe-d16/Kconfig +++ b/src/mainboard/asus/kgpe-d16/Kconfig @@ -32,7 +32,6 @@ config BOARD_SPECIFIC_OPTIONS select DRIVERS_I2C_W83795 select DRIVERS_ASPEED_AST2050 select MAINBOARD_FORCE_NATIVE_VGA_INIT - select MAINBOARD_HAS_NATIVE_VGA_INIT config MAINBOARD_DIR string