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/reset.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google/rauru/reset.c') diff --git a/src/mainboard/google/rauru/reset.c b/src/mainboard/google/rauru/reset.c index 3eb13907b8..05a576b69c 100644 --- a/src/mainboard/google/rauru/reset.c +++ b/src/mainboard/google/rauru/reset.c @@ -1,8 +1,11 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include #include +#include "gpio.h" + void do_board_reset(void) { - /* TODO: add reset function when gpio is ready */ + gpio_output(GPIO_AP_EC_WARM_RST_REQ, 1); } -- cgit v1.2.3