summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console/usbdebug_console.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/console/usbdebug_console.c b/src/console/usbdebug_console.c
index 58a62b8e94..dd61953f8e 100644
--- a/src/console/usbdebug_console.c
+++ b/src/console/usbdebug_console.c
@@ -50,6 +50,9 @@ unsigned get_ehci_debug(void)
static void dbgp_init(void)
{
+#if !CONFIG_EARLY_CONSOLE
+ enable_usbdebug(CONFIG_USBDEBUG_DEFAULT_PORT);
+#endif
usbdebug_init(CONFIG_EHCI_BAR, CONFIG_EHCI_DEBUG_OFFSET, &dbg_info);
}