summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/h61-series/Kconfig
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-05-17 12:31:29 +0200
committerPatrick Georgi <pgeorgi@google.com>2021-05-18 11:49:32 +0000
commite94cda578c6a91538c05cc8590752435136268b4 (patch)
tree237e6701bcbbe4d337160ea2a1861da0b22c01e8 /src/mainboard/asus/h61-series/Kconfig
parentde649bc01da910a2bcf5aaed1701beec7c4694e7 (diff)
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 <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/54372 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/asus/h61-series/Kconfig')
-rw-r--r--src/mainboard/asus/h61-series/Kconfig32
1 files changed, 32 insertions, 0 deletions
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