diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-06 14:27:41 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-01-18 12:31:35 +0100 |
commit | b5072264054879b4cdfe8219404a0b2347d933b5 (patch) | |
tree | 47de6e007bdaa6ec0b825d943046cde1c701552e /Makefile | |
parent | c0978a94aa4eab52e8c634ac0a43af4b411921e3 (diff) | |
download | u-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 'Makefile')
0 files changed, 0 insertions, 0 deletions