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>
This commit is contained in:
parent
302e7bc5de
commit
32912997bc
|
@ -15,11 +15,17 @@
|
|||
|
||||
#include <device/device.h>
|
||||
#include <bootblock_common.h>
|
||||
#include <gpio.h>
|
||||
#include <timestamp.h>
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue