From e94cda578c6a91538c05cc8590752435136268b4 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Mon, 17 May 2021 12:31:29 +0200 Subject: mb/asus/p8h61-m_lx3_r2_0: Transform into variant setup Get ready to squash all Asus H61 boards together, so as to factor out lots of redundant code. Tested with BUILD_TIMELESS=1, coreboot.rom for the Asus P8H61-M LX3 R2.0 remains identical when not adding the .config file in it. Change-Id: I738197bf4d5ea8b879ae26ecbcb0cf3714316662 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/54372 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/asus/h61-series/Kconfig | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/mainboard/asus/h61-series/Kconfig (limited to 'src/mainboard/asus/h61-series/Kconfig') diff --git a/src/mainboard/asus/h61-series/Kconfig b/src/mainboard/asus/h61-series/Kconfig new file mode 100644 index 0000000000..2ef6642788 --- /dev/null +++ b/src/mainboard/asus/h61-series/Kconfig @@ -0,0 +1,32 @@ +## SPDX-License-Identifier: GPL-2.0-only + +config BOARD_ASUS_H61_SERIES + bool + select HAVE_ACPI_RESUME + select HAVE_ACPI_TABLES + select INTEL_GMA_HAVE_VBT + select MAINBOARD_HAS_LIBGFXINIT + select NORTHBRIDGE_INTEL_SANDYBRIDGE + select SERIRQ_CONTINUOUS_MODE + select SOUTHBRIDGE_INTEL_BD82X6X + select USE_NATIVE_RAMINIT + +if BOARD_ASUS_H61_SERIES + +config MAINBOARD_DIR + string + default "asus/h61-series" + +config VARIANT_DIR + string + default "p8h61-m_lx3_r2_0" if BOARD_ASUS_P8H61_M_LX3_R2_0 + +config MAINBOARD_PART_NUMBER + string + default "P8H61-M LX3 R2.0" if BOARD_ASUS_P8H61_M_LX3_R2_0 + +config DEVICETREE + string + default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" + +endif -- cgit v1.2.3