summaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/chili/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/siemens/chili/Kconfig')
-rw-r--r--src/mainboard/siemens/chili/Kconfig28
1 files changed, 18 insertions, 10 deletions
diff --git a/src/mainboard/siemens/chili/Kconfig b/src/mainboard/siemens/chili/Kconfig
index fda571dcfe..a261abcb43 100644
--- a/src/mainboard/siemens/chili/Kconfig
+++ b/src/mainboard/siemens/chili/Kconfig
@@ -1,29 +1,37 @@
# SPDX-License-Identifier: GPL-2.0-only
-if BOARD_SIEMENS_CHILI_BASE || BOARD_SIEMENS_CHILI_CHILI
-
-config BOARD_SPECIFIC_OPTIONS
- def_bool y
+config BOARD_SIEMENS_CHILI_COMMON
+ def_bool n
select BOARD_ROMSIZE_KB_32768
select DRIVERS_I2C_GENERIC
select DRIVERS_I2C_HID
- select DRIVERS_I2C_LM96000 if BOARD_SIEMENS_CHILI_CHILI
- select DRIVERS_UART_8250IO if BOARD_SIEMENS_CHILI_BASE
select EC_ACPI
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_OPTION_TABLE
select INTEL_GMA_HAVE_VBT
- select INTEL_LPSS_UART_FOR_CONSOLE if BOARD_SIEMENS_CHILI_CHILI
select MAINBOARD_HAS_LIBGFXINIT
select MAINBOARD_HAS_LPC_TPM
select MAINBOARD_HAS_TPM2
select MAINBOARD_USES_IFD_GBE_REGION
- select SMBIOS_PROVIDED_BY_MOBO if BOARD_SIEMENS_CHILI_CHILI
select SOC_INTEL_CANNONLAKE_PCH_H
select SOC_INTEL_COFFEELAKE
- select SOC_INTEL_COMMON_BLOCK_HDA_VERB if BOARD_SIEMENS_CHILI_CHILI
- select SECUNET_DMI if BOARD_SIEMENS_CHILI_CHILI
+
+config BOARD_SIEMENS_CHILI_BASE_OPTIONS
+ bool
+ select BOARD_SIEMENS_CHILI_COMMON
+ select DRIVERS_UART_8250IO
+
+config BOARD_SIEMENS_CHILI_CHILI_OPTIONS
+ bool
+ select BOARD_SIEMENS_CHILI_COMMON
+ select DRIVERS_I2C_LM96000
+ select INTEL_LPSS_UART_FOR_CONSOLE
+ select SECUNET_DMI
+ select SMBIOS_PROVIDED_BY_MOBO
+ select SOC_INTEL_COMMON_BLOCK_HDA_VERB
+
+if BOARD_SIEMENS_CHILI_COMMON
config MAINBOARD_DIR
string