summaryrefslogtreecommitdiff
path: root/src/mainboard/siemens/fa_ehl/Kconfig
diff options
context:
space:
mode:
authorJohannes Hahn <johannes-hahn@siemens.com>2023-04-26 17:56:37 +0200
committerFelix Held <felix-coreboot@felixheld.de>2023-08-24 13:31:17 +0000
commit377153d58d726d6e8b3d3fc388bc50598a769bb4 (patch)
treee2ecb11afded3e1acc87cadbb0d35c9cf527986b /src/mainboard/siemens/fa_ehl/Kconfig
parent736d4d25df5ece86c3b2f611a5e4dda1eac627a7 (diff)
mainboard/siemens/fa_ehl: Add new mainboard based on mc_ehl2
Add a new mainboard called fa_ehl which is based on Siemens's 'mc_ehl2'. This commit simply copies the mainboard directory and adjusts the naming to match the new board's name. Moreover a variants scheme is provided for possible alternative implementations. Follow-up commits will introduce the needed changes for the new mainboard. Change-Id: Ia389c8812d14db8b663547e6336e900becbc8be6 Signed-off-by: Johannes Hahn <johannes-hahn@siemens.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76444 Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Jan Samek <jan.samek@siemens.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Uwe Poeche <uwe.poeche@siemens.com>
Diffstat (limited to 'src/mainboard/siemens/fa_ehl/Kconfig')
-rw-r--r--src/mainboard/siemens/fa_ehl/Kconfig31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/mainboard/siemens/fa_ehl/Kconfig b/src/mainboard/siemens/fa_ehl/Kconfig
new file mode 100644
index 0000000000..f70739b023
--- /dev/null
+++ b/src/mainboard/siemens/fa_ehl/Kconfig
@@ -0,0 +1,31 @@
+config BOARD_SIEMENS_BASEBOARD_FA_EHL
+ def_bool n
+ select SOC_INTEL_ELKHARTLAKE
+ select BOARD_ROMSIZE_KB_16384
+ select DRIVERS_I2C_GENERIC
+ select HAVE_ACPI_TABLES
+ select DRIVER_SIEMENS_NC_FPGA
+ select NC_FPGA_NOTIFY_CB_READY
+ select USE_SIEMENS_HWILIB
+ select SOC_INTEL_DISABLE_POWER_LIMITS
+
+source "src/mainboard/siemens/fa_ehl/variants/*/Kconfig"
+
+if BOARD_SIEMENS_BASEBOARD_FA_EHL
+
+config MAINBOARD_DIR
+ default "siemens/fa_ehl"
+
+config VARIANT_DIR
+ default "fa_ehl" if BOARD_SIEMENS_FA_EHL
+
+config MAINBOARD_PART_NUMBER
+ default "FA EHL" if BOARD_SIEMENS_FA_EHL
+
+config DEVICETREE
+ default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
+
+config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN
+ default y
+
+endif # BOARD_SIEMENS_BASEBOARD_FA_EHL