mb/google/rex: Create Ovis4ES variant

Ovis4ES variant supports only ESx SoCs. Existing Ovis variant will
support QS SoCs.

BUG=b:293409364
TEST=util/abuild/abuild -p none -t google/rex -b ovis4es -x -a
TEST=util/abuild/abuild -p none -t google/rex -b ovis -x -a

Change-Id: Iacf5ef6d3dfee8838fe13e68b254a84e4a6cf200
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76789
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Jakub Czapiga 2023-07-27 08:48:00 +00:00 committed by Felix Held
parent edd996103f
commit 8beaf0f7e4
2 changed files with 12 additions and 3 deletions

View File

@ -72,6 +72,10 @@ config BOARD_GOOGLE_BASEBOARD_OVIS
select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES select SOC_INTEL_ENABLE_USB4_PCIE_RESOURCES
select TPM_GOOGLE_TI50 select TPM_GOOGLE_TI50
config BOARD_GOOGLE_MODEL_OVIS
def_bool n
select BOARD_GOOGLE_BASEBOARD_OVIS
if BOARD_GOOGLE_REX_COMMON if BOARD_GOOGLE_REX_COMMON
config BASEBOARD_DIR config BASEBOARD_DIR
@ -119,13 +123,14 @@ config MAINBOARD_PART_NUMBER
default "Screebo4ES" if BOARD_GOOGLE_SCREEBO4ES default "Screebo4ES" if BOARD_GOOGLE_SCREEBO4ES
default "Karis" if BOARD_GOOGLE_KARIS default "Karis" if BOARD_GOOGLE_KARIS
default "Ovis" if BOARD_GOOGLE_OVIS default "Ovis" if BOARD_GOOGLE_OVIS
default "Ovis4ES" if BOARD_GOOGLE_OVIS4ES
config VARIANT_DIR config VARIANT_DIR
string string
default "rex0" if BOARD_GOOGLE_MODEL_REX default "rex0" if BOARD_GOOGLE_MODEL_REX
default "screebo" if BOARD_GOOGLE_MODEL_SCREEBO default "screebo" if BOARD_GOOGLE_MODEL_SCREEBO
default "karis" if BOARD_GOOGLE_KARIS default "karis" if BOARD_GOOGLE_KARIS
default "ovis" if BOARD_GOOGLE_OVIS default "ovis" if BOARD_GOOGLE_MODEL_OVIS
config DIMM_SPD_SIZE config DIMM_SPD_SIZE
default 512 default 512
@ -147,7 +152,7 @@ config OVERRIDE_DEVICETREE
config DRIVER_TPM_I2C_BUS config DRIVER_TPM_I2C_BUS
hex hex
default 0x4 if BOARD_GOOGLE_MODEL_REX || BOARD_GOOGLE_MODEL_SCREEBO || BOARD_GOOGLE_OVIS default 0x4 if BOARD_GOOGLE_MODEL_REX || BOARD_GOOGLE_MODEL_SCREEBO || BOARD_GOOGLE_MODEL_OVIS
config DRIVER_TPM_I2C_ADDR config DRIVER_TPM_I2C_ADDR
hex hex

View File

@ -22,7 +22,11 @@ config BOARD_GOOGLE_REX_EC_ISH
config BOARD_GOOGLE_OVIS config BOARD_GOOGLE_OVIS
bool "-> Ovis" bool "-> Ovis"
select BOARD_GOOGLE_BASEBOARD_OVIS select BOARD_GOOGLE_MODEL_OVIS
config BOARD_GOOGLE_OVIS4ES
bool "-> Ovis4ES"
select BOARD_GOOGLE_MODEL_OVIS
config BOARD_GOOGLE_REX4ES config BOARD_GOOGLE_REX4ES
bool "-> Rex4ES" bool "-> Rex4ES"