[U-Boot] [PATCH 0/2] Fix repeated USB scans problems

Hans de Goede
2015-01-08T10:09:40Z

Hi,

On 06-01-15 18:02, Stephen Warren wrote:
> On 01/06/2015 06:27 AM, Hans de Goede wrote:
>> Hi Marek & Stephen,
>>
>> As discussed before we've a problem where our standard bootcmds sometimes
>> scan usb more then once, causing a large boot delay.
>>
>> Marek, as discussed with you before, this patch-set tackles this differently
>> then previous sets, by simply making "usb start" a oneshot command (atleast
>> until "usb stop" is called).
>>
>> Stephen the second patch then modifies config_distro_bootcmd.h to simply call
>> "usb start" unconditionally, since calling it repeatedly now can be done
>> without side-effects.
>>
>> Assuming you both like these patches, that leaves the question of how to
>> merge them, they can be merged individually each through your own trees, or
>> one of you can pick up both of them, I'll leave that to you.
>
> Users will have to get used to running "usb reset" rather than "usb start", but I guess that's fine.
>
> Should we rename "usb reset" to "usb restart"?
>
> Either way, the series,
> Acked-by: Stephen Warren <swarren@nvidia.com>
>
> Will you do something similar for SCSI?

I think it would probably make sense to do something similar for SCSI,
but I'm not all that familiar with the SCSI code, and I really don't
have time to work on this for SCSI, so atm I do not plan to work that.

Regards,

Hans