summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorTristan Shieh <tristan.shieh@mediatek.com>2019-01-30 09:45:52 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-01-31 08:38:31 +0000
commitd053f393c46c8a568f55c789e789e4e56026ad85 (patch)
tree8eb2d63933f97b7d233dcf4555a90cd26cfb7959 /src/mainboard/google
parent1f83e9d592f6be5a4fc36c7d21ae1410a2fbbdfe (diff)
google/kukui: Set GPIO_RESET to output mode
In payloads, we didn't set GPIO modes. We have to set up GPIO mode in coreboot for payloads. BUG=b:80501386 BRANCH=none TEST=HW reboot works in depthcharge Change-Id: Ibd2c6c071871edc59497fbb245cdbec6a814f621 Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com> Reviewed-on: https://review.coreboot.org/c/31148 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/kukui/chromeos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/kukui/chromeos.c b/src/mainboard/google/kukui/chromeos.c
index 77c442f36a..132f0d3a64 100644
--- a/src/mainboard/google/kukui/chromeos.c
+++ b/src/mainboard/google/kukui/chromeos.c
@@ -24,6 +24,7 @@ void setup_chromeos_gpios(void)
{
gpio_input_pullup(EC_IN_RW);
gpio_input_pullup(EC_IRQ);
+ gpio_output(GPIO_RESET, 0);
}
void fill_lb_gpios(struct lb_gpios *gpios)