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/reset.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/reset.c')
-rw-r--r-- | src/mainboard/google/rauru/reset.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <gpio.h> #include <reset.h> +#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); } |