diff options
author | Yidi Lin <yidilin@chromium.org> | 2024-04-09 21:27:11 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2024-11-08 07:38:30 +0000 |
commit | 84527cbb9676bda60fad7448f1ecad50afb98f12 (patch) | |
tree | 6803bd387d0a4a788f2920f6d6b8ca1742c3f6a3 /src/mainboard/google/rauru/Kconfig | |
parent | 4c96f14b3d3718a67f395942653be0a5844777e8 (diff) |
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 <yidilin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84931
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Diffstat (limited to 'src/mainboard/google/rauru/Kconfig')
-rw-r--r-- | src/mainboard/google/rauru/Kconfig | 10 |
1 files changed, 9 insertions, 1 deletions
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 |