]> git.dujemihanovic.xyz Git - u-boot.git/commit
splash: Accommodate DM_USB in splash_init_usb()
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Fri, 1 Jul 2016 19:47:36 +0000 (22:47 +0300)
committerAnatolij Gustschin <agust@denx.de>
Mon, 25 Jul 2016 20:42:10 +0000 (22:42 +0200)
commitd7b60fbfa63431eedccac17674311f0055f323fe
treea97246d0ba62426d4f7648423b3c6bebcc1a7269
parentadde435fa7c03c17c40e9f771eceed127fbbc251
splash: Accommodate DM_USB in splash_init_usb()

Current implementation of splash_init_usb() requires usb_stor_scan()
which doesn't exist in case of DM_USB simply because real probing
happens right in usb_init().

So disable usage of usb_stor_scan() in case of DM_USB.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Simon Glass <sjg@chromium.org>
Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Robert Winkler <robert.winkler@boundarydevices.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/splash_source.c