This is (most of) the usb2 debug console code ripped out of
[coreboot.git] / src / lib / Config.lb
index b2c28218002007eaba1e79e2e6cf720e2554a152..7dfc16b82d2c650dc02c99fd69e8cd83e225dad6 100644 (file)
@@ -1,9 +1,15 @@
 uses HAVE_FALLBACK_BOOT
 uses CONFIG_USE_INIT
 uses CONFIG_USE_PRINTK_IN_CAR
+uses CONFIG_USBDEBUG_DIRECT
 
 object clog2.o
 object uart8250.o
+
+if CONFIG_USBDEBUG_DIRECT
+       object usbdebug_direct.o
+end
+
 object memset.o
 object memcpy.o
 object memcmp.o