[U-Boot] [PATCH 2/4] distro bootcmd: make net boot only optionally start USB

Simon Glass sjg at chromium.org
Fri Jan 29 05:01:59 CET 2016


On 26 January 2016 at 12:59, Simon Glass <sjg at chromium.org> wrote:
> On 26 January 2016 at 11:10, Stephen Warren <swarren at wwwdotorg.org> wrote:
>> From: Stephen Warren <swarren at nvidia.com>
>>
>> Currently, the distro boot commands always enumerate USB devices before
>> performing network operations. However, depending on the board and end-
>> user configuration, network devices may not be attached to USB, and so
>> enumerating USB may not be necessary. Enhance the scripts to make this
>> step optional, so that the user can decrease boot time if they don't
>> need USB.
>>
>> This change is performed by moving the "usb start" invocation into a
>> standalone variable. If the user desires, they can replace that
>> variable's value with some no-op command such as "true" instead.
>>
>> Booting from a USB storage device always needs to enumerate USB devices,
>> so this action is still hard-coded.
>>
>> Signed-off-by: Stephen Warren <swarren at nvidia.com>
>> ---
>>  doc/README.distro               |  7 +++++++
>>  include/config_distro_bootcmd.h | 11 ++++++-----
>>  2 files changed, 13 insertions(+), 5 deletions(-)
>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list