summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/kontron/bsl6/Kconfig22
-rw-r--r--src/mainboard/kontron/bsl6/Kconfig.name2
2 files changed, 17 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
diff --git a/src/mainboard/kontron/bsl6/Kconfig.name b/src/mainboard/kontron/bsl6/Kconfig.name
index 0f0577e5db..90bf1c474f 100644
--- a/src/mainboard/kontron/bsl6/Kconfig.name
+++ b/src/mainboard/kontron/bsl6/Kconfig.name
@@ -1,5 +1,7 @@
config BOARD_KONTRON_BSL6
bool "COMe-bSL6"
+ select BOARD_KONTRON_BSL6_OPTIONS
config BOARD_SIEMENS_BOXER26
bool "COMe-bSL6 on Siemens/Boxer26"
+ select BOARD_KONTRON_BOXER26_OPTIONS