From 55606d43ab8cb2baffffa40ef9cf26df765e63be Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Thu, 25 May 2023 18:36:32 +0530 Subject: =?UTF-8?q?mb/google/rex:=20Create=20variant=C2=A0to=20support=20I?= =?UTF-8?q?SH=20enablement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/75470 Reviewed-by: Tarun Tuli Tested-by: build bot (Jenkins) Reviewed-by: YH Lin Reviewed-by: Kapil Porwal --- src/mainboard/google/rex/Kconfig | 6 +++--- src/mainboard/google/rex/Kconfig.name | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'src/mainboard/google') 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 -- cgit v1.2.3