summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/google/rex/Kconfig10
-rw-r--r--src/mainboard/google/rex/Kconfig.name16
2 files changed, 12 insertions, 14 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index 014c3a7974..9c755085ba 100644
--- a/src/mainboard/google/rex/Kconfig
+++ b/src/mainboard/google/rex/Kconfig
@@ -44,6 +44,16 @@ config BOARD_GOOGLE_BASEBOARD_REX
select SYSTEM_TYPE_LAPTOP
select TPM_GOOGLE_TI50
+config BOARD_GOOGLE_MODEL_REX
+ def_bool n
+ select BOARD_GOOGLE_BASEBOARD_REX
+ select DRIVERS_GENERIC_MAX98357A
+ select DRIVERS_GENESYSLOGIC_GL9755
+ select DRIVERS_INTEL_ISH
+ select DRIVERS_INTEL_SOUNDWIRE
+ select DRIVERS_SOUNDWIRE_CS42L42
+ select DRIVERS_SOUNDWIRE_MAX98363
+
config BOARD_GOOGLE_BASEBOARD_OVIS
def_bool n
select BOARD_GOOGLE_REX_COMMON
diff --git a/src/mainboard/google/rex/Kconfig.name b/src/mainboard/google/rex/Kconfig.name
index 8084a045bd..94ae1a059f 100644
--- a/src/mainboard/google/rex/Kconfig.name
+++ b/src/mainboard/google/rex/Kconfig.name
@@ -2,13 +2,7 @@ comment "Rex"
config BOARD_GOOGLE_REX0
bool "-> Rex 0"
- select BOARD_GOOGLE_BASEBOARD_REX
- select DRIVERS_GENERIC_MAX98357A
- select DRIVERS_GENESYSLOGIC_GL9755
- select DRIVERS_INTEL_ISH
- select DRIVERS_INTEL_SOUNDWIRE
- select DRIVERS_SOUNDWIRE_CS42L42
- select DRIVERS_SOUNDWIRE_MAX98363
+ select BOARD_GOOGLE_MODEL_REX
config BOARD_GOOGLE_SCREEBO
bool "-> Screebo"
@@ -21,13 +15,7 @@ config BOARD_GOOGLE_KARIS
config BOARD_GOOGLE_REX_EC_ISH
bool "-> Rex EC ISH"
- select BOARD_GOOGLE_BASEBOARD_REX
- select DRIVERS_GENERIC_MAX98357A
- select DRIVERS_GENESYSLOGIC_GL9755
- select DRIVERS_INTEL_ISH
- select DRIVERS_INTEL_SOUNDWIRE
- select DRIVERS_SOUNDWIRE_CS42L42
- select DRIVERS_SOUNDWIRE_MAX98363
+ select BOARD_GOOGLE_MODEL_REX
config BOARD_GOOGLE_OVIS
bool "-> Ovis"