summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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"