summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-07-20 09:07:27 +0000
committerSubrata Banik <subratabanik@google.com>2023-07-21 07:58:25 +0000
commitf9419eadf13af815f5dc5e9d3a156af2509d70d3 (patch)
tree41134908e9e4aa4a1516be20d5830bbec63ec593
parent648ad8c5b1100a9d5abd42b160eede456ff39db7 (diff)
mb/google/rex: Use BOARD_GOOGLE_MODEL_REX instead variant name
Choose BOARD_GOOGLE_MODEL_REX while setting up the default config value for variants created using google/rex model. TEST=Able to build and boot google/rex. Signed-off-by: Subrata Banik <subratabanik@google.com> Change-Id: I107f4e375b5c9e9c0fb80c4d396164c10c1fc1e7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/76657 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
-rw-r--r--src/mainboard/google/rex/Kconfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index bbd20e3212..c31dc8bdd8 100644
--- a/src/mainboard/google/rex/Kconfig
+++ b/src/mainboard/google/rex/Kconfig
@@ -107,14 +107,14 @@ config MAINBOARD_FAMILY
default "Google_Ovis" if BOARD_GOOGLE_BASEBOARD_OVIS
config MAINBOARD_PART_NUMBER
- default "Rex" if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_REX_EC_ISH || BOARD_GOOGLE_REX4ES
+ default "Rex" if BOARD_GOOGLE_MODEL_REX
default "Screebo" if BOARD_GOOGLE_SCREEBO
default "Karis" if BOARD_GOOGLE_KARIS
default "Ovis" if BOARD_GOOGLE_OVIS
config VARIANT_DIR
string
- default "rex0" if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_REX_EC_ISH || BOARD_GOOGLE_REX4ES
+ default "rex0" if BOARD_GOOGLE_MODEL_REX
default "screebo" if BOARD_GOOGLE_SCREEBO
default "karis" if BOARD_GOOGLE_KARIS
default "ovis" if BOARD_GOOGLE_OVIS
@@ -139,7 +139,7 @@ config OVERRIDE_DEVICETREE
config DRIVER_TPM_I2C_BUS
hex
- default 0x4 if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_SCREEBO || BOARD_GOOGLE_REX_EC_ISH || BOARD_GOOGLE_OVIS || BOARD_GOOGLE_REX4ES
+ default 0x4 if BOARD_GOOGLE_MODEL_REX || BOARD_GOOGLE_SCREEBO || BOARD_GOOGLE_OVIS
config DRIVER_TPM_I2C_ADDR
hex