mb/intel/mtlrvp: Create mtlrvp4es_p_ext_ec variant

This patch creates a new variant mtlrvp4es_p_ext_ec. The new
variant will support ESx samples. The existing mtlrvp_p_ext_ec
variant will support the QS samples.

BUG=b:310775573
TEST= Build and boot mtlrvp4es_p_ext_ec.

Signed-off-by: Usha P <usha.p@intel.com>
Change-Id: Iad72c0f6343af149d16d8b1f8639ba496f6aab0c
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79052
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
This commit is contained in:
Usha P 2023-11-14 11:25:43 +05:30 committed by Subrata Banik
parent 7f7ebb7b3d
commit 45b1b7bf4d
2 changed files with 10 additions and 4 deletions

View File

@ -26,6 +26,9 @@ config BOARD_INTEL_MTLRVP_P
config BOARD_INTEL_MTLRVP_P_EXT_EC
select BOARD_EXT_EC_SPECIFIC_OPTIONS
config BOARD_INTEL_MTLRVP4ES_P_EXT_EC
select BOARD_EXT_EC_SPECIFIC_OPTIONS
select SOC_INTEL_METEORLAKE_PRE_PRODUCTION_SILICON
config BOARD_INTEL_MTLRVP_P_MCHP
@ -61,7 +64,7 @@ config MAINBOARD_DIR
config BASEBOARD_DIR
string
default "mtlrvp_p" if BOARD_INTEL_MTLRVP_P || BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP
default "mtlrvp_p" if BOARD_INTEL_MTLRVP_P || BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP || BOARD_INTEL_MTLRVP4ES_P_EXT_EC
config GBB_HWID
string
@ -83,7 +86,7 @@ config MAINBOARD_FAMILY
config VARIANT_DIR
string
default "mtlrvp_p" if BOARD_INTEL_MTLRVP_P
default "mtlrvp_p_ext_ec" if BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP
default "mtlrvp_p_ext_ec" if BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP || BOARD_INTEL_MTLRVP4ES_P_EXT_EC
config DEVICETREE
string
@ -99,7 +102,7 @@ config DIMM_SPD_SIZE
choice
prompt "ON BOARD EC"
default MTL_INTEL_EC if BOARD_INTEL_MTLRVP_P
default MTL_CHROME_EC if BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP
default MTL_CHROME_EC if BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP || BOARD_INTEL_MTLRVP4ES_P_EXT_EC
help
This option allows you to select the on board EC to use.
Select whether the board has Intel EC or/and Chrome EC

View File

@ -2,7 +2,10 @@ config BOARD_INTEL_MTLRVP_P
bool "Meteorlake-P RVP"
config BOARD_INTEL_MTLRVP_P_EXT_EC
bool "Meteorlake-P RVP with Chrome EC"
bool "Meteorlake-P RVP with Chrome EC for Prod Silicon"
config BOARD_INTEL_MTLRVP4ES_P_EXT_EC
bool "Meteorlake-P RVP with Chrome EC for non-Prod Silicon"
config BOARD_INTEL_MTLRVP_P_MCHP
bool "Meteorlake-P RVP with Microchip EC"