x86: Provide an option to enable legacy USB
[akaros.git] / kern / arch / x86 / init.c
index 126d75b..b724360 100644 (file)
@@ -91,6 +91,10 @@ void arch_init()
        perfmon_init();
        cons_irq_init();
        intel_lpc_init();
+#ifdef CONFIG_ENABLE_LEGACY_USB
+       printk("Legacy USB support enabled, expect SMM interference!\n");
+#else
        usb_disable_legacy();
+#endif
        check_timing_stability();
 }