diff options
-rw-r--r-- | src/mainboard/google/cherry/bootblock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainboard/google/cherry/bootblock.c b/src/mainboard/google/cherry/bootblock.c index 93f0bce4ba..dca2f1383a 100644 --- a/src/mainboard/google/cherry/bootblock.c +++ b/src/mainboard/google/cherry/bootblock.c @@ -2,6 +2,7 @@ #include <bootblock_common.h> #include <device/mmio.h> +#include <gpio.h> #include <soc/gpio.h> #include <soc/i2c.h> #include <soc/spi.h> @@ -35,6 +36,11 @@ static void nor_set_gpio_pinmux(void) } } +static void usb3_hub_reset(void) +{ + gpio_output(GPIO(DGI_D7), 1); +} + void bootblock_mainboard_init(void) { mtk_i2c_bus_init(CONFIG_DRIVER_TPM_I2C_BUS); @@ -42,4 +48,5 @@ void bootblock_mainboard_init(void) nor_set_gpio_pinmux(); setup_chromeos_gpios(); gpio_eint_configure(GPIO_GSC_AP_INT, IRQ_TYPE_EDGE_RISING); + usb3_hub_reset(); } |