summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2023-05-25 18:36:32 +0530
committerSubrata Banik <subratabanik@google.com>2023-05-27 04:01:17 +0000
commit55606d43ab8cb2baffffa40ef9cf26df765e63be (patch)
treec9606d5b4e703fa3e93a9f9924ac13d62fe3a0d4 /src/mainboard/google
parent49d8aa7043ea4c9c3f5c655007234b386ba33919 (diff)
mb/google/rex: Create variant to support ISH enablement
This patch creates a new variant to support the ISH enablement using Rex platform.The idea here is to leverage the `rex0` code as much as possible and add specific support for ISH enablement as per the hardware schematic differences. BUG=b:284254353 TEST=Able to build google/rex_ish_ec board and boot on target hardware. Change-Id: I625fd0b31aed998f4e8f2d139827bc212ee8a90b Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/75470 Reviewed-by: Tarun Tuli <taruntuli@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: YH Lin <yueherngl@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/rex/Kconfig6
-rw-r--r--src/mainboard/google/rex/Kconfig.name6
2 files changed, 9 insertions, 3 deletions
diff --git a/src/mainboard/google/rex/Kconfig b/src/mainboard/google/rex/Kconfig
index c95da355c6..ab399cb3c1 100644
--- a/src/mainboard/google/rex/Kconfig
+++ b/src/mainboard/google/rex/Kconfig
@@ -82,12 +82,12 @@ config MAINBOARD_FAMILY
default "Google_Rex" if BOARD_GOOGLE_BASEBOARD_REX
config MAINBOARD_PART_NUMBER
- default "Rex" if BOARD_GOOGLE_REX0
+ default "Rex" if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_REX_EC_ISH
default "Screebo" if BOARD_GOOGLE_SCREEBO
config VARIANT_DIR
string
- default "rex0" if BOARD_GOOGLE_REX0
+ default "rex0" if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_REX_EC_ISH
default "screebo" if BOARD_GOOGLE_SCREEBO
config DIMM_SPD_SIZE
@@ -111,7 +111,7 @@ config OVERRIDE_DEVICETREE
config DRIVER_TPM_I2C_BUS
hex
- default 0x4 if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_SCREEBO
+ default 0x4 if BOARD_GOOGLE_REX0 || BOARD_GOOGLE_SCREEBO || BOARD_GOOGLE_REX_EC_ISH
config DRIVER_TPM_I2C_ADDR
hex
diff --git a/src/mainboard/google/rex/Kconfig.name b/src/mainboard/google/rex/Kconfig.name
index 886a2f0426..b990e316cf 100644
--- a/src/mainboard/google/rex/Kconfig.name
+++ b/src/mainboard/google/rex/Kconfig.name
@@ -8,3 +8,9 @@ config BOARD_GOOGLE_REX0
config BOARD_GOOGLE_SCREEBO
bool "-> Screebo"
select BOARD_GOOGLE_BASEBOARD_REX
+
+config BOARD_GOOGLE_REX_EC_ISH
+ bool "-> Rex EC ISH"
+ select BOARD_GOOGLE_BASEBOARD_REX
+ select DRIVERS_GENESYSLOGIC_GL9755
+ select DRIVERS_INTEL_ISH