summaryrefslogtreecommitdiff
path: root/cmd/usb.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-17 15:26:03 (GMT)
committerTom Rini <trini@konsulko.com>2017-01-17 15:26:03 (GMT)
commit373ae16c9282cf6dfb39cd6e1b8ad26098635ca2 (patch)
treec563331cc0b91eaefe5985ae0f560add51b79d93 /cmd/usb.c
parentf253f2933b7373556329c0174dd5b101039a4056 (diff)
parent65c389d27902f6376bd057609b66b7339b219cf1 (diff)
downloadu-boot-fsl-qoriq-373ae16c9282cf6dfb39cd6e1b8ad26098635ca2.tar.xz
Merge branch 'master' of git://git.denx.de/u-boot-usb
Diffstat (limited to 'cmd/usb.c')
-rw-r--r--cmd/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/usb.c b/cmd/usb.c
index 455127c..4fa456e 100644
--- 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