summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/intel/mtlrvp/Kconfig9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mainboard/intel/mtlrvp/Kconfig b/src/mainboard/intel/mtlrvp/Kconfig
index c4478d16d0..4d59f9bcf3 100644
--- a/src/mainboard/intel/mtlrvp/Kconfig
+++ b/src/mainboard/intel/mtlrvp/Kconfig
@@ -107,7 +107,8 @@ 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 || BOARD_INTEL_MTLRVP4ES_P_EXT_EC
+ default MTL_CHROME_EC if BOARD_INTEL_MTLRVP_P_EXT_EC || BOARD_INTEL_MTLRVP4ES_P_EXT_EC
+ default MTL_CHROME_EC_SHARED_SPI if 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
@@ -115,6 +116,10 @@ choice
config MTL_CHROME_EC
bool "Chrome EC with Internal SPI flash"
+config MTL_CHROME_EC_SHARED_SPI
+ bool "Chrome EC with External Shared SPI flash"
+ select MAINBOARD_USES_IFD_EC_REGION
+
config MTL_INTEL_EC
bool "Intel EC"
select EC_ACPI
@@ -122,7 +127,7 @@ endchoice
config VBOOT
select VBOOT_LID_SWITCH
- select EC_GOOGLE_CHROMEEC_SWITCHES if MTL_CHROME_EC
+ select EC_GOOGLE_CHROMEEC_SWITCHES if MTL_CHROME_EC || MTL_CHROME_EC_SHARED_SPI
config UART_FOR_CONSOLE
int