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/bootblock.c | |
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/bootblock.c')
-rw-r--r-- | src/mainboard/google/rauru/bootblock.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/rauru/bootblock.c b/src/mainboard/google/rauru/bootblock.c index e0717aa57a..bbebf5228c 100644 --- a/src/mainboard/google/rauru/bootblock.c +++ b/src/mainboard/google/rauru/bootblock.c @@ -17,6 +17,7 @@ void bootblock_mainboard_init(void) if (CONFIG(PCI)) mtk_pcie_pre_init(); + mtk_spi_init(CONFIG_EC_GOOGLE_CHROMEEC_SPI_BUS, SPI_PAD0_MASK, 3 * MHz, 0); mtk_snfc_init(); usb3_hub_reset(); setup_chromeos_gpios(); |