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>
This commit is contained in:
Tristan Shieh 2019-01-30 09:45:52 +08:00 committed by Patrick Georgi
parent 1f83e9d592
commit d053f393c4
1 changed files with 1 additions and 0 deletions

View File

@ -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)