diff options
author | Julius Werner <jwerner@chromium.org> | 2018-08-01 16:30:42 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2018-08-02 22:09:17 +0000 |
commit | 32912997bc0324383f82958358b360ac1df3e243 (patch) | |
tree | 0318b4f1a100ec2d028aa885cb2b2924a948e73e /src/mainboard/google/cheza | |
parent | 302e7bc5de78a073fa14f31a655fa6fce803e1e3 (diff) | |
download | coreboot-32912997bc0324383f82958358b360ac1df3e243.tar.xz |
google/cheza: Deassert USB hub reset pin
This patch makes sure we deassert the USB hub reset pin so the hub will
work with the next board revision that drops the external pull-up.
(Actual USB support comes in a later patch.)
Change-Id: I1efdc3594cfa3229891d42d445a21c1739170b79
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/27790
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/cheza')
-rw-r--r-- | src/mainboard/google/cheza/mainboard.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/google/cheza/mainboard.c b/src/mainboard/google/cheza/mainboard.c index 568d4864a5..fdec3fb50e 100644 --- a/src/mainboard/google/cheza/mainboard.c +++ b/src/mainboard/google/cheza/mainboard.c @@ -15,11 +15,17 @@ #include <device/device.h> #include <bootblock_common.h> +#include <gpio.h> #include <timestamp.h> -static void mainboard_init(struct device *dev) +static void setup_usb(void) { + gpio_output(GPIO(120), 1); /* Deassert HUB_RST_L to enable hub. */ +} +static void mainboard_init(struct device *dev) +{ + setup_usb(); } static void mainboard_enable(struct device *dev) |