summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorDinesh Gehlot <digehlot@google.com>2023-07-19 11:46:17 +0530
committerSubrata Banik <subratabanik@google.com>2023-07-21 07:57:59 +0000
commit648ad8c5b1100a9d5abd42b160eede456ff39db7 (patch)
tree5cb9bdc66c616bbd0466a3580021765589184b44 /src/mainboard
parentecb2a84690e8c90d02ab3de8dcf4f250049dfee8 (diff)
mb/google/rex: Create rex4es variant
This patch creates a new variant rex4es. The new variant will support ESx samples. The existing rex variant will support the QS samples. BUG=b:290732344 TEST=Able to build google/rex4es board and boot on target hardware. Change-Id: I25dd1f42ee812f47289da0c2ef7aa79d6f340d48 Signed-off-by: Dinesh Gehlot <digehlot@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76605 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rex/Kconfig6
-rw-r--r--src/mainboard/google/rex/Kconfig.name4
2 files changed, 7 insertions, 3 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index 9c755085ba..bbd20e3212 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
+ default "Rex" if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_REX_EC_ISH || BOARD_GOOGLE_REX4ES
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
+ default "rex0" if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_REX_EC_ISH || BOARD_GOOGLE_REX4ES
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
+ default 0x4 if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_SCREEBO || BOARD_GOOGLE_REX_EC_ISH || BOARD_GOOGLE_OVIS || BOARD_GOOGLE_REX4ES
config DRIVER_TPM_I2C_ADDR
hex
diff --git a/src/mainboard/google/rex/Kconfig.name b/src/mainboard/google/rex/Kconfig.name
index 94ae1a059f..eea2a528f2 100644
--- a/src/mainboard/google/rex/Kconfig.name
+++ b/src/mainboard/google/rex/Kconfig.name
@@ -20,3 +20,7 @@ config BOARD_GOOGLE_REX_EC_ISH
config BOARD_GOOGLE_OVIS
bool "-> Ovis"
select BOARD_GOOGLE_BASEBOARD_OVIS
+
+config BOARD_GOOGLE_REX4ES
+ bool "-> Rex4ES"
+ select BOARD_GOOGLE_MODEL_REX