From 125082091655feb99892f1af440f282213f3037f Mon Sep 17 00:00:00 2001 From: Rex-BC Chen Date: Mon, 25 Jul 2022 19:08:06 +0800 Subject: mb/google/geralt: Enable Chrome EC Initialize SPI bus 0 for Chrome EC control. TEST=build pass BUG=b:236331724 Signed-off-by: Bo-Chen Chen Change-Id: I6de5ea8a0273a3b0c725e4cdbcf69f4db74c5db7 Reviewed-on: https://review.coreboot.org/c/coreboot/+/66272 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu --- src/mainboard/google/geralt/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/mainboard/google/geralt/Kconfig') diff --git a/src/mainboard/google/geralt/Kconfig b/src/mainboard/google/geralt/Kconfig index dde5b57511..0501a1d34f 100644 --- a/src/mainboard/google/geralt/Kconfig +++ b/src/mainboard/google/geralt/Kconfig @@ -8,17 +8,22 @@ if BOARD_GOOGLE_GERALT_COMMON config VBOOT select VBOOT_VBNV_FLASH + select EC_GOOGLE_CHROMEEC_SWITCHES config BOARD_SPECIFIC_OPTIONS def_bool y select SOC_MEDIATEK_MT8188 select BOARD_ROMSIZE_KB_8192 select MAINBOARD_HAS_CHROMEOS + select CHROMEOS_USE_EC_WATCHDOG_FLAG if CHROMEOS select COMMON_CBFS_SPI_WRAPPER select SPI_FLASH select SPI_FLASH_INCLUDE_ALL_DRIVERS select COMMONLIB_STORAGE select COMMONLIB_STORAGE_MMC + select EC_GOOGLE_CHROMEEC + select EC_GOOGLE_CHROMEEC_BOARDID + select EC_GOOGLE_CHROMEEC_SPI config MAINBOARD_DIR string @@ -31,4 +36,8 @@ config MAINBOARD_PART_NUMBER config BOOT_DEVICE_SPI_FLASH_BUS int default 7 + +config EC_GOOGLE_CHROMEEC_SPI_BUS + hex + default 0x0 endif -- cgit v1.2.3