mb/intel/mtlrvp: Add new MTL-P board variant for MCHP1727

This patch will add new board variant to enable MCHP1727 EC Card
for MTL-RVP

BUG=b:262800416
BRANCH=none
TEST=check if you can observe MEC EC option as part of make menuconfig.
Able to boot to ChromeOS with Microchip EC.

Signed-off-by: Harsha B R <harsha.b.r@intel.com>
Change-Id: Ie0d3c37bcab5e4b90a131e17996c4b6dcbae7d5d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70668
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Usha P <usha.p@intel.com>
Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
Harsha B R 2022-12-13 11:14:32 +05:30 committed by Martin L Roth
parent a7731cc0c9
commit 68af77ea7d
2 changed files with 14 additions and 3 deletions

View File

@ -24,6 +24,14 @@ config BOARD_INTEL_MTLRVP_P
select BOARD_INTEL_MTLRVP_COMMON
config BOARD_INTEL_MTLRVP_P_EXT_EC
select BOARD_EXT_EC_SPECIFIC_OPTIONS
config BOARD_INTEL_MTLRVP_P_MCHP
select BOARD_EXT_EC_SPECIFIC_OPTIONS
select EC_GOOGLE_CHROMEEC_MEC
config BOARD_EXT_EC_SPECIFIC_OPTIONS
def_bool n
select BOARD_INTEL_MTLRVP_COMMON
select DRIVERS_INTEL_PMC
select FW_CONFIG
@ -50,7 +58,7 @@ config MAINBOARD_DIR
config BASEBOARD_DIR
string
default "mtlrvp_p" if BOARD_INTEL_MTLRVP_P || BOARD_INTEL_MTLRVP_P_EXT_EC
default "mtlrvp_p" if BOARD_INTEL_MTLRVP_P || BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP
config GBB_HWID
string
@ -71,7 +79,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
default "mtlrvp_p_ext_ec" if BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP
config DEVICETREE
string
@ -87,7 +95,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
default MTL_CHROME_EC if BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP_P_MCHP
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

@ -3,3 +3,6 @@ config BOARD_INTEL_MTLRVP_P
config BOARD_INTEL_MTLRVP_P_EXT_EC
bool "Meteorlake-P RVP with Chrome EC"
config BOARD_INTEL_MTLRVP_P_MCHP
bool "Meteorlake-P RVP with Microchip EC"