mb/google/rex: 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: Id69ea99b452e4214fcc81335a5c961b4da3ce48b
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75021
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
This commit is contained in:
Felix Singer 2023-09-21 23:27:07 +02:00 committed by Felix Singer
parent 173e73d061
commit 375b65eb1d
2 changed files with 35 additions and 15 deletions

View File

@ -97,6 +97,41 @@ config BOARD_GOOGLE_MODEL_OVIS
def_bool n
select BOARD_GOOGLE_BASEBOARD_OVIS
config BOARD_GOOGLE_REX0
select BOARD_GOOGLE_MODEL_REX
config BOARD_GOOGLE_SCREEBO
select BOARD_GOOGLE_MODEL_SCREEBO
config BOARD_GOOGLE_SCREEBO4ES
select BOARD_GOOGLE_MODEL_SCREEBO
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_GOOGLE_KARIS
select BOARD_GOOGLE_MODEL_KARIS
config BOARD_GOOGLE_KARIS4ES
select BOARD_GOOGLE_MODEL_KARIS
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_GOOGLE_REX_EC_ISH
select BOARD_GOOGLE_MODEL_REX_EC_ISH
config BOARD_GOOGLE_OVIS
select BOARD_GOOGLE_MODEL_OVIS
config BOARD_GOOGLE_OVIS4ES
select BOARD_GOOGLE_MODEL_OVIS
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_GOOGLE_REX4ES
select BOARD_GOOGLE_MODEL_REX
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_GOOGLE_REX4ES_EC_ISH
select BOARD_GOOGLE_MODEL_REX_EC_ISH
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
if BOARD_GOOGLE_REX_COMMON
config BASEBOARD_DIR

View File

@ -2,45 +2,30 @@ comment "Rex"
config BOARD_GOOGLE_REX0
bool "-> Rex 0"
select BOARD_GOOGLE_MODEL_REX
config BOARD_GOOGLE_SCREEBO
bool "-> Screebo"
select BOARD_GOOGLE_MODEL_SCREEBO
config BOARD_GOOGLE_SCREEBO4ES
bool "-> Screebo4ES"
select BOARD_GOOGLE_MODEL_SCREEBO
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_GOOGLE_KARIS
bool "-> Karis"
select BOARD_GOOGLE_MODEL_KARIS
config BOARD_GOOGLE_KARIS4ES
bool "-> Karis4ES"
select BOARD_GOOGLE_MODEL_KARIS
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_GOOGLE_REX_EC_ISH
bool "-> Rex EC ISH"
select BOARD_GOOGLE_MODEL_REX_EC_ISH
config BOARD_GOOGLE_OVIS
bool "-> Ovis"
select BOARD_GOOGLE_MODEL_OVIS
config BOARD_GOOGLE_OVIS4ES
bool "-> Ovis4ES"
select BOARD_GOOGLE_MODEL_OVIS
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_GOOGLE_REX4ES
bool "-> Rex4ES"
select BOARD_GOOGLE_MODEL_REX
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_GOOGLE_REX4ES_EC_ISH
bool "-> Rex4ES EC ISH"
select BOARD_GOOGLE_MODEL_REX_EC_ISH
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON