summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarsha B R <harsha.b.r@intel.com>2022-12-13 11:14:32 +0530
committerMartin L Roth <gaumless@gmail.com>2023-03-16 14:58:19 +0000
commit68af77ea7d1206a0244acbc5dd30fc72264cf6d0 (patch)
treef79b079dd716932c37fc3a57d7e713b1104bece0 /src
parenta7731cc0c9b5170149f4ebd5f0e9a90335e8e3f7 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/intel/mtlrvp/Kconfig14
-rw-r--r--src/mainboard/intel/mtlrvp/Kconfig.name3
2 files changed, 14 insertions, 3 deletions
diff --git a/src/mainboard/intel/mtlrvp/Kconfig b/src/mainboard/intel/mtlrvp/Kconfig
index 916edd4b10..0af052980f 100644
--- a/src/mainboard/intel/mtlrvp/Kconfig
+++ b/src/mainboard/intel/mtlrvp/Kconfig
@@ -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
diff --git a/src/mainboard/intel/mtlrvp/Kconfig.name b/src/mainboard/intel/mtlrvp/Kconfig.name
index e14c6280c0..9f61aff142 100644
--- a/src/mainboard/intel/mtlrvp/Kconfig.name
+++ b/src/mainboard/intel/mtlrvp/Kconfig.name
@@ -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"