]> git.sur5r.net Git - u-boot/commit
config_distro_bootcmd.h: Remove unnecessary magic to avoid repeated USB scans
authorHans de Goede <hdegoede@redhat.com>
Tue, 6 Jan 2015 13:27:42 +0000 (14:27 +0100)
committerMarek Vasut <marex@denx.de>
Sun, 18 Jan 2015 11:31:35 +0000 (12:31 +0100)
commita1d31077d06d47233d2bd7002cf65d5ee9b5e501
tree7c3754ffa1292d797b32fdaf517b426445638f21
parentb5072264054879b4cdfe8219404a0b2347d933b5
config_distro_bootcmd.h: Remove unnecessary magic to avoid repeated USB scans

Now that "usb start" will only start usb if not already started, we can simply
call "usb start" whenever we (may) need access to usb devices, and it will only
actually scan the bus at the first call.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/config_distro_bootcmd.h