summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-01-06 14:27:41 +0100
committerMarek Vasut <marex@denx.de>2015-01-18 12:31:35 +0100
commitb5072264054879b4cdfe8219404a0b2347d933b5 (patch)
tree47de6e007bdaa6ec0b825d943046cde1c701552e /include
parentc0978a94aa4eab52e8c634ac0a43af4b411921e3 (diff)
downloadu-boot-imx-b5072264054879b4cdfe8219404a0b2347d933b5.zip
u-boot-imx-b5072264054879b4cdfe8219404a0b2347d933b5.tar.gz
u-boot-imx-b5072264054879b4cdfe8219404a0b2347d933b5.tar.bz2
USB: make "usb start" start usb only once
Currently we've this magic in include/config_distro_bootcmd.h to avoid scanning the usb bus multiple times. And it does not work when also using an usb keyboard because then the preboot command has already scanned the bus, so we're still scanning it twice. This commit makes "usb start" only start usb if it is no already started, allowing us to remove all the magic for it from include/config_distro_bootcmd.h and just call it unconditionally. This also causes "usb start" and "usb reset" to actually do what their different names suggest, rather then both of them doing exactly the same. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions