mb/intel/mtlrvp: streamline Chrome EC configs

Chrome EC configuration options that are common among
various boards have been consolidated under the
"BOARD_EXT_EC_SPECIFIC_OPTIONS" config.

BUG=b:289783489
TEST=emerge-rex coreboot chromeos-bootimage is successful

Change-Id: I0b85cc48d5cefadb52edbb27bf6cf370b27c395f
Signed-off-by: Deepti Deshatty <deepti.deshatty@intel.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79211
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
This commit is contained in:
Deepti Deshatty
2023-11-21 14:18:39 +05:30
committed by Felix Held
parent 3d883ba606
commit 264f86526d

View File

@@ -41,6 +41,10 @@ config BOARD_EXT_EC_SPECIFIC_OPTIONS
def_bool n def_bool n
select BOARD_INTEL_MTLRVP_COMMON select BOARD_INTEL_MTLRVP_COMMON
select DRIVERS_INTEL_PMC select DRIVERS_INTEL_PMC
select EC_ACPI
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_ESPI
select EC_GOOGLE_CHROMEEC_BOARDID
select FW_CONFIG select FW_CONFIG
select FW_CONFIG_SOURCE_CHROMEEC_CBI select FW_CONFIG_SOURCE_CHROMEEC_CBI
@@ -109,11 +113,7 @@ choice
Select whether the board has Intel EC or/and Chrome EC Select whether the board has Intel EC or/and Chrome EC
config MTL_CHROME_EC config MTL_CHROME_EC
bool "Chrome EC" bool "Chrome EC with Internal SPI flash"
select EC_ACPI
select EC_GOOGLE_CHROMEEC
select EC_GOOGLE_CHROMEEC_ESPI
select EC_GOOGLE_CHROMEEC_BOARDID
config MTL_INTEL_EC config MTL_INTEL_EC
bool "Intel EC" bool "Intel EC"