summaryrefslogtreecommitdiff
path: root/src/mainboard/google/oak
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/oak')
-rw-r--r--src/mainboard/google/oak/mainboard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c
index 289aa32cfb..df0945b894 100644
--- a/src/mainboard/google/oak/mainboard.c
+++ b/src/mainboard/google/oak/mainboard.c
@@ -139,6 +139,13 @@ static void configure_usb(void)
gpio_output(PAD_CM2MCLK, 1);
}
+static void configure_usb_hub(void)
+{
+ /* set usb hub reset pin (low active) to high */
+ if (board_id() > 4)
+ gpio_output(PAD_UTXD3, 1);
+}
+
/* Setup backlight control pins as output pin and power-off by default */
static void configure_backlight(void)
{
@@ -176,6 +183,7 @@ static void mainboard_init(device_t dev)
configure_audio();
configure_backlight();
configure_usb();
+ configure_usb_hub();
configure_bl31();
elog_init();