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>
This commit is contained in:
Subrata Banik 2023-05-25 18:36:32 +05:30
parent 49d8aa7043
commit 55606d43ab
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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