summaryrefslogtreecommitdiff
path: root/baseboard
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard')
-rw-r--r--baseboard/cherry/baseboard.c3
-rw-r--r--baseboard/cherry/baseboard.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/baseboard/cherry/baseboard.c b/baseboard/cherry/baseboard.c
index 692c14cf73..8123ceaa9c 100644
--- a/baseboard/cherry/baseboard.c
+++ b/baseboard/cherry/baseboard.c
@@ -559,6 +559,9 @@ int board_regulator_get_voltage(uint32_t index, uint32_t *voltage_mv)
static void baseboard_init(void)
{
gpio_enable_interrupt(GPIO_USB_C0_BC12_INT_ODL);
+#ifndef BOARD_CHERRY
+ gpio_enable_interrupt(GPIO_AP_XHCI_INIT_DONE);
+#endif
}
DECLARE_HOOK(HOOK_INIT, baseboard_init, HOOK_PRIO_DEFAULT - 1);
diff --git a/baseboard/cherry/baseboard.h b/baseboard/cherry/baseboard.h
index 349a10997d..39bc9d543d 100644
--- a/baseboard/cherry/baseboard.h
+++ b/baseboard/cherry/baseboard.h
@@ -161,6 +161,7 @@
/* USB-A */
#define CONFIG_USB_PORT_POWER_DUMB
+#define CONFIG_USB_PORT_POWER_DUMB_CUSTOM_HOOK
#define USB_PORT_COUNT USBA_PORT_COUNT
/* UART */