From 13d5d98bd580c1f67579c59807f8d14a733086f3 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 17 May 2021 14:12:49 +0200 Subject: mb/asus/h61-series: Always select `INTEL_INT15` The mainboard.c guard was only added to preserve reproducibility when unifying the boards. The `install_intel_vga_int15_handler` function does nothing when `VGA_ROM_RUN` is not selected. Remove the guard and always select `INTEL_INT15` for simplicity. Change-Id: If51a0ab1c57b0856018a62cf669e5d1b53e5333c Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/54379 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/asus/h61-series/Kconfig | 1 + src/mainboard/asus/h61-series/Kconfig.name | 2 -- src/mainboard/asus/h61-series/mainboard.c | 5 ----- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/mainboard/asus/h61-series/Kconfig b/src/mainboard/asus/h61-series/Kconfig index cadc9841de..e776a54813 100644 --- a/src/mainboard/asus/h61-series/Kconfig +++ b/src/mainboard/asus/h61-series/Kconfig @@ -5,6 +5,7 @@ config BOARD_ASUS_H61_SERIES select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select INTEL_GMA_HAVE_VBT + select INTEL_INT15 select MAINBOARD_HAS_LIBGFXINIT select NORTHBRIDGE_INTEL_SANDYBRIDGE select SERIRQ_CONTINUOUS_MODE diff --git a/src/mainboard/asus/h61-series/Kconfig.name b/src/mainboard/asus/h61-series/Kconfig.name index c53118856f..087dd9236e 100644 --- a/src/mainboard/asus/h61-series/Kconfig.name +++ b/src/mainboard/asus/h61-series/Kconfig.name @@ -4,7 +4,6 @@ config BOARD_ASUS_H61M_CS select BOARD_ROMSIZE_KB_8192 select HAVE_CMOS_DEFAULT select HAVE_OPTION_TABLE - select INTEL_INT15 select NO_UART_ON_SUPERIO select SUPERIO_NUVOTON_NCT6779D @@ -14,7 +13,6 @@ config BOARD_ASUS_P8H61_M_LX select BOARD_ROMSIZE_KB_4096 select HAVE_CMOS_DEFAULT select HAVE_OPTION_TABLE - select INTEL_INT15 select REALTEK_8168_RESET select RT8168_SET_LED_MODE select SUPERIO_NUVOTON_COMMON_COM_A diff --git a/src/mainboard/asus/h61-series/mainboard.c b/src/mainboard/asus/h61-series/mainboard.c index 48fcdce34e..c834fea5d3 100644 --- a/src/mainboard/asus/h61-series/mainboard.c +++ b/src/mainboard/asus/h61-series/mainboard.c @@ -1,8 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -/* TODO: remove */ -#if CONFIG(INTEL_INT15) - #include #include @@ -16,5 +13,3 @@ static void mainboard_enable(struct device *dev) struct chip_operations mainboard_ops = { .enable_dev = mainboard_enable, }; - -#endif -- cgit v1.2.3