summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/cheza/mainboard.c8
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)