summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/mtlrvp/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/mtlrvp/Kconfig')
-rw-r--r--src/mainboard/intel/mtlrvp/Kconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mainboard/intel/mtlrvp/Kconfig b/src/mainboard/intel/mtlrvp/Kconfig
index 2905407893..f5255675f3 100644
--- a/src/mainboard/intel/mtlrvp/Kconfig
+++ b/src/mainboard/intel/mtlrvp/Kconfig
@@ -44,4 +44,27 @@ config OVERRIDE_DEVICETREE
string
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
+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
+ help
+ This option allows you to select the on board EC to use.
+ Select whether the board has Intel EC or/and Chrome EC
+
+config MTL_CHROME_EC
+ bool "Chrome EC"
+ select EC_ACPI
+ select EC_GOOGLE_CHROMEEC
+ select EC_GOOGLE_CHROMEEC_ESPI
+ select EC_GOOGLE_CHROMEEC_BOARDID
+
+config MTL_INTEL_EC
+ bool "Intel EC"
+ select EC_ACPI
+endchoice
+
+config VBOOT
+ select VBOOT_LID_SWITCH
+
endif # BOARD_INTEL_MTLRVP_COMMON