]> git.sur5r.net Git - u-boot/blobdiff - cmd/usb.c
dm: led: Add support for blinking LEDs
[u-boot] / cmd / usb.c
index 455127c844b9937c60f9a1a8047d409b4694f635..4fa456e318347452785edf5a2239fda63a1a6458 100644 (file)
--- a/cmd/usb.c
+++ b/cmd/usb.c
@@ -571,11 +571,11 @@ static void do_usb_start(void)
                return;
 
        /* Driver model will probe the devices as they are found */
-#ifndef CONFIG_DM_USB
 # ifdef CONFIG_USB_STORAGE
        /* try to recognize storage devices immediately */
        usb_stor_curr_dev = usb_stor_scan(1);
 # endif
+#ifndef CONFIG_DM_USB
 # ifdef CONFIG_USB_KEYBOARD
        drv_usb_kbd_init();
 # endif