From 2f95552802422160b1d9b88288953a2be3a19ee7 Mon Sep 17 00:00:00 2001 From: Uwe Poeche Date: Tue, 2 Dec 2025 13:45:35 +0100 Subject: [PATCH] mb/siemens/mc_ehl: Move Kconfig switch to variants SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN has to be handled differently at variant level in upcoming mainboards. This patch moves the switch from upper mc_ehl level to board-specific level. TEST=Compared .config files for all boards after defconfig completed before and after the patch for all boards. Change-Id: I5adb978152eb9f465e30988f39d1ea7815403ce0 Signed-off-by: Uwe Poeche Reviewed-on: https://review.coreboot.org/c/coreboot/+/90333 Tested-by: build bot (Jenkins) Reviewed-by: Matt DeVillier --- src/mainboard/siemens/mc_ehl/Kconfig | 3 --- src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig | 3 +++ src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig | 3 +++ src/mainboard/siemens/mc_ehl/variants/mc_ehl3/Kconfig | 3 +++ src/mainboard/siemens/mc_ehl/variants/mc_ehl4/Kconfig | 3 +++ src/mainboard/siemens/mc_ehl/variants/mc_ehl5/Kconfig | 3 +++ src/mainboard/siemens/mc_ehl/variants/mc_ehl6/Kconfig | 3 +++ 7 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/mainboard/siemens/mc_ehl/Kconfig b/src/mainboard/siemens/mc_ehl/Kconfig index 0841e1d486..5aff0be1b5 100644 --- a/src/mainboard/siemens/mc_ehl/Kconfig +++ b/src/mainboard/siemens/mc_ehl/Kconfig @@ -55,7 +55,4 @@ config MAINBOARD_PART_NUMBER config DEVICETREE default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" -config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN - default y - endif # BOARD_SIEMENS_BASEBOARD_MC_EHL diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig index 03f78b7a8e..96e9ddccec 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl1/Kconfig @@ -36,4 +36,7 @@ config EARLY_PCI_MMIO_BASE depends on NC_FPGA_POST_CODE default 0xfe800000 +config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN + default y + endif # BOARD_SIEMENS_MC_EHL1 diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig index 73ef1dadc4..211da6fb9f 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl2/Kconfig @@ -21,4 +21,7 @@ config UART_FOR_CONSOLE int default 0 +config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN + default y + endif # BOARD_SIEMENS_MC_EHL2 diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl3/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl3/Kconfig index 688074a55e..5f49d5e32c 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl3/Kconfig +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl3/Kconfig @@ -22,4 +22,7 @@ config UART_FOR_CONSOLE int default 0 +config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN + default y + endif # BOARD_SIEMENS_MC_EHL3 diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl4/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl4/Kconfig index 842ec11846..f67a31d529 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl4/Kconfig +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl4/Kconfig @@ -31,4 +31,7 @@ config EARLY_PCI_MMIO_BASE depends on NC_FPGA_POST_CODE default 0xfe800000 +config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN + default y + endif # BOARD_SIEMENS_MC_EHL4 diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl5/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl5/Kconfig index 3e0c61c3d9..731d12bc78 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl5/Kconfig +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl5/Kconfig @@ -22,4 +22,7 @@ config UART_FOR_CONSOLE int default 0 +config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN + default y + endif # BOARD_SIEMENS_MC_EHL5 diff --git a/src/mainboard/siemens/mc_ehl/variants/mc_ehl6/Kconfig b/src/mainboard/siemens/mc_ehl/variants/mc_ehl6/Kconfig index 936a452065..d7cb2dffaa 100644 --- a/src/mainboard/siemens/mc_ehl/variants/mc_ehl6/Kconfig +++ b/src/mainboard/siemens/mc_ehl/variants/mc_ehl6/Kconfig @@ -37,4 +37,7 @@ config EARLY_PCI_MMIO_BASE depends on NC_FPGA_POST_CODE default 0xfe800000 +config SOC_INTEL_ELKHARTLAKE_TCO_NO_REBOOT_EN + default y + endif # BOARD_SIEMENS_MC_EHL6