mb/siemens: Move selects from Kconfig.name to Kconfig

Selects should be done in the Kconfig file instead of Kconfig.name and
not mixed over both files.

Change-Id: Ic199a60013ceedfd15b191a5fe707be6654ad3a2
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75078
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Mario Scheithauer <mario.scheithauer@siemens.com>
This commit is contained in:
Felix Singer 2023-05-08 20:12:45 +02:00 committed by Martin L Roth
parent c0d0aecf16
commit 68ba3fffc4
6 changed files with 39 additions and 13 deletions

View File

@ -7,6 +7,9 @@ config BOARD_SIEMENS_BASEBOARD_FA_EHL
select USE_SIEMENS_HWILIB
select SOC_INTEL_DISABLE_POWER_LIMITS
config BOARD_SIEMENS_FA_EHL
select BOARD_SIEMENS_BASEBOARD_FA_EHL
source "src/mainboard/siemens/fa_ehl/variants/*/Kconfig"
if BOARD_SIEMENS_BASEBOARD_FA_EHL

View File

@ -2,4 +2,3 @@ comment "FA EHL"
config BOARD_SIEMENS_FA_EHL
bool "-> FA EHL"
select BOARD_SIEMENS_BASEBOARD_FA_EHL

View File

@ -7,6 +7,27 @@ config BOARD_SIEMENS_BASEBOARD_MC_APL1
select USE_SIEMENS_HWILIB
select INTEL_LPSS_UART_FOR_CONSOLE
config BOARD_SIEMENS_MC_APL1
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL2
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL3
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL4
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL5
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL6
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL7
select BOARD_SIEMENS_BASEBOARD_MC_APL1
source "src/mainboard/siemens/mc_apl1/variants/*/Kconfig"
if BOARD_SIEMENS_BASEBOARD_MC_APL1

View File

@ -2,28 +2,21 @@ comment "MC APLx"
config BOARD_SIEMENS_MC_APL1
bool "-> MC APL1"
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL2
bool "-> MC APL2"
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL3
bool "-> MC APL3"
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL4
bool "-> MC APL4"
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL5
bool "-> MC APL5"
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL6
bool "-> MC APL6"
select BOARD_SIEMENS_BASEBOARD_MC_APL1
config BOARD_SIEMENS_MC_APL7
bool "-> MC APL7"
select BOARD_SIEMENS_BASEBOARD_MC_APL1

View File

@ -9,6 +9,21 @@ config BOARD_SIEMENS_BASEBOARD_MC_EHL
select USE_SIEMENS_HWILIB
select SOC_INTEL_DISABLE_POWER_LIMITS
config BOARD_SIEMENS_MC_EHL1
select BOARD_SIEMENS_BASEBOARD_MC_EHL
config BOARD_SIEMENS_MC_EHL2
select BOARD_SIEMENS_BASEBOARD_MC_EHL
config BOARD_SIEMENS_MC_EHL3
select BOARD_SIEMENS_BASEBOARD_MC_EHL
config BOARD_SIEMENS_MC_EHL4
select BOARD_SIEMENS_BASEBOARD_MC_EHL
config BOARD_SIEMENS_MC_EHL5
select BOARD_SIEMENS_BASEBOARD_MC_EHL
source "src/mainboard/siemens/mc_ehl/variants/*/Kconfig"
if BOARD_SIEMENS_BASEBOARD_MC_EHL

View File

@ -2,20 +2,15 @@ comment "MC EHLx"
config BOARD_SIEMENS_MC_EHL1
bool "-> MC EHL1"
select BOARD_SIEMENS_BASEBOARD_MC_EHL
config BOARD_SIEMENS_MC_EHL2
bool "-> MC EHL2"
select BOARD_SIEMENS_BASEBOARD_MC_EHL
config BOARD_SIEMENS_MC_EHL3
bool "-> MC EHL3"
select BOARD_SIEMENS_BASEBOARD_MC_EHL
config BOARD_SIEMENS_MC_EHL4
bool "-> MC EHL4"
select BOARD_SIEMENS_BASEBOARD_MC_EHL
config BOARD_SIEMENS_MC_EHL5
bool "-> MC EHL5"
select BOARD_SIEMENS_BASEBOARD_MC_EHL