[U-Boot] [PATCH v5 09/15] dm: usb: Do not scan companion buses if no devices where handed over

Simon Glass sjg at chromium.org
Tue May 12 00:33:18 CEST 2015


On 10 May 2015 at 06:10, Hans de Goede <hdegoede at redhat.com> wrote:
> USB scanning is slow, and there is no need to scan the companion buses
> if no usb devices where handed over to the companinon controllers by any
> of the main controllers.
>
> This saves e.g. 2 seconds when booting a A10 OLinuxIno Lime with no USB-1
> devices plugged into the root usb ports.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
>  drivers/usb/host/usb-uclass.c | 42 ++++++++++++++++++++++++++++++++++--------
>  1 file changed, 34 insertions(+), 8 deletions(-)

Acked-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list