From 84527cbb9676bda60fad7448f1ecad50afb98f12 Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Tue, 9 Apr 2024 21:27:11 +0800 Subject: mb/google/rauru: Enable ChromeOS EC 1. Configure ChromeOS EC 2. Pass GPIO_EC_AP_INT_ODL to the payload TEST=build pass BUG=b:317009620 Change-Id: I20828eee93975e75dfb777fe29d5e1c3454b5059 Signed-off-by: Yidi Lin Reviewed-on: https://review.coreboot.org/c/coreboot/+/84931 Reviewed-by: Yu-Ping Wu Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/mainboard/google/rauru/Kconfig | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/rauru/Kconfig') diff --git a/src/mainboard/google/rauru/Kconfig b/src/mainboard/google/rauru/Kconfig index 457b5fb77a..c7483e288c 100644 --- a/src/mainboard/google/rauru/Kconfig +++ b/src/mainboard/google/rauru/Kconfig @@ -10,7 +10,7 @@ if BOARD_GOOGLE_RAURU_COMMON config VBOOT select VBOOT_VBNV_FLASH - select VBOOT_NO_BOARD_SUPPORT + select EC_GOOGLE_CHROMEEC_SWITCHES select VBOOT_MOCK_SECDATA config BOARD_SPECIFIC_OPTIONS @@ -21,6 +21,10 @@ config BOARD_SPECIFIC_OPTIONS select COMMON_CBFS_SPI_WRAPPER select SPI_FLASH select SPI_FLASH_INCLUDE_ALL_DRIVERS + select CHROMEOS_USE_EC_WATCHDOG_FLAG if CHROMEOS + select EC_GOOGLE_CHROMEEC + select EC_GOOGLE_CHROMEEC_BOARDID + select EC_GOOGLE_CHROMEEC_SPI config MAINBOARD_DIR string @@ -35,4 +39,8 @@ config MAINBOARD_PART_NUMBER config BOOT_DEVICE_SPI_FLASH_BUS int default 8 + +config EC_GOOGLE_CHROMEEC_SPI_BUS + hex + default 0x1 endif -- cgit v1.2.3