From 68af77ea7d1206a0244acbc5dd30fc72264cf6d0 Mon Sep 17 00:00:00 2001 From: Harsha B R Date: Tue, 13 Dec 2022 11:14:32 +0530 Subject: [PATCH] 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 Change-Id: Ie0d3c37bcab5e4b90a131e17996c4b6dcbae7d5d Reviewed-on: https://review.coreboot.org/c/coreboot/+/70668 Tested-by: build bot (Jenkins) Reviewed-by: Vijay P Hiremath Reviewed-by: Usha P Reviewed-by: Subrata Banik --- src/mainboard/intel/mtlrvp/Kconfig | 14 +++++++++++--- src/mainboard/intel/mtlrvp/Kconfig.name | 3 +++ 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"