summaryrefslogtreecommitdiff
path: root/src/console/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/console/console.c')
-rw-r--r--src/console/console.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/console/console.c b/src/console/console.c
index 4f11fbecf8..3178562bb3 100644
--- a/src/console/console.c
+++ b/src/console/console.c
@@ -95,6 +95,10 @@ int console_tst_byte(void)
void console_init(void)
{
+#if CONFIG_USBDEBUG
+ enable_usbdebug(CONFIG_USBDEBUG_DEFAULT_PORT);
+ early_usbdebug_init();
+#endif
#if CONFIG_CONSOLE_NE2K
ne2k_init(CONFIG_CONSOLE_NE2K_IO_PORT);
#endif