diff options
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/siemens/chili/Kconfig | 28 | ||||
-rw-r--r-- | src/mainboard/siemens/chili/Kconfig.name | 2 |
2 files changed, 20 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 diff --git a/src/mainboard/siemens/chili/Kconfig.name b/src/mainboard/siemens/chili/Kconfig.name index ac4e31eef4..1c8dab5f7f 100644 --- a/src/mainboard/siemens/chili/Kconfig.name +++ b/src/mainboard/siemens/chili/Kconfig.name @@ -4,6 +4,8 @@ comment "CHILI" config BOARD_SIEMENS_CHILI_BASE bool "-> Base board" + select BOARD_SIEMENS_CHILI_BASE_OPTIONS config BOARD_SIEMENS_CHILI_CHILI bool "-> Chili (AiO)" + select BOARD_SIEMENS_CHILI_CHILI_OPTIONS |