summaryrefslogtreecommitdiff
path: root/src/mainboard/kontron/bsl6/Kconfig
diff options
context:
space:
mode:
authorFelix Singer <felixsinger@posteo.net>2021-01-03 21:24:50 +0000
committerNico Huber <nico.h@gmx.de>2021-01-05 00:20:08 +0000
commit086f2f68605657ee04f65da5b1099b55b083d71a (patch)
tree327a2dfddc2b2feb73885f1e01b41b509da9b26f /src/mainboard/kontron/bsl6/Kconfig
parentb9ba0d10a21eacdc9171eb02f4ce9a93401b7db9 (diff)
mb/kontron/bsl6: Rework Kconfig
Rework Kconfig file so that each variant has its own config option with their specific selects / configuration and move common selects to a seperate config option, which is used as base for each variant. Built kontron/boxer26 with BUILD_TIMELESS=1, coreboot.rom remains the same. Change-Id: I08bd68aa2f98f93b8c5daf1ab2f3c1bbce521c53 Signed-off-by: Felix Singer <felixsinger@posteo.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49061 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/mainboard/kontron/bsl6/Kconfig')
-rw-r--r--src/mainboard/kontron/bsl6/Kconfig22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/mainboard/kontron/bsl6/Kconfig b/src/mainboard/kontron/bsl6/Kconfig
index 437c5a3e52..fd52d3e751 100644
--- a/src/mainboard/kontron/bsl6/Kconfig
+++ b/src/mainboard/kontron/bsl6/Kconfig
@@ -1,15 +1,12 @@
# SPDX-License-Identifier: GPL-2.0-only
-if BOARD_KONTRON_BSL6 || BOARD_SIEMENS_BOXER26
-
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
+config BOARD_KONTRON_BSL6_COMMON
+ def_bool n
select BOARD_ROMSIZE_KB_16384
select SOC_INTEL_SKYLAKE
select SKYLAKE_SOC_PCH_H
select EXCLUDE_NATIVE_SD_INTERFACE
select NO_FADT_8042
- select HAVE_ACPI_RESUME if BOARD_KONTRON_BSL6
select HAVE_ACPI_TABLES
select HAVE_OPTION_TABLE
select HAVE_CMOS_DEFAULT
@@ -17,8 +14,19 @@ config BOARD_SPECIFIC_OPTIONS
select EC_KONTRON_KEMPLD
select MAINBOARD_HAS_LIBGFXINIT
select DRIVERS_I2C_NCT7802Y
- select DRIVERS_I2C_LM96000 if BOARD_SIEMENS_BOXER26
- select SECUNET_DMI if BOARD_SIEMENS_BOXER26
+
+config BOARD_KONTRON_BSL6_OPTIONS
+ bool
+ select BOARD_KONTRON_BSL6_COMMON
+ select HAVE_ACPI_RESUME
+
+config BOARD_KONTRON_BOXER26_OPTIONS
+ bool
+ select BOARD_KONTRON_BSL6_COMMON
+ select DRIVERS_I2C_LM96000
+ select SECUNET_DMI
+
+if BOARD_KONTRON_BSL6_COMMON
config MAINBOARD_DIR
string