diff options
Diffstat (limited to 'chip/it83xx/gpio.c')
-rw-r--r-- | chip/it83xx/gpio.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chip/it83xx/gpio.c b/chip/it83xx/gpio.c index 134d5b3472..8cd80a1d94 100644 --- a/chip/it83xx/gpio.c +++ b/chip/it83xx/gpio.c @@ -464,6 +464,14 @@ void gpio_pre_init(void) } #endif +#ifndef CONFIG_USB + /* + * Disable default pull-down of USB controller (GPH5 and GPH6) if we + * don't use this module. + */ + IT83XX_USB_P0MCR &= ~USB_DP_DM_PULL_DOWN_EN; +#endif + for (i = 0; i < GPIO_COUNT; i++, g++) { flags = g->flags; |