[U-Boot] [PATCH] imx: nitrogen6x: fix USB host initialization
Stefano Babic
sbabic at denx.de
Fri Jan 27 10:39:20 CET 2017
On 12/01/2017 12:18, Gary Bisson wrote:
> USB Host scanning has been broken since v2016.05.
>
> This is due to all the USB changes that happened between v2016.03
> and v2016.05, especially:
> 2ef117fe4f usb: Remove 200 ms delay in usb_hub_port_connect_change()
> a22a264ec3 usb: Change power-on / scanning timeout handling
>
> So we need to increase the init delay to 2s using the usb_pgood_delay
> environment variable.
>
> Signed-off-by: Gary Bisson <gary.bisson at boundarydevices.com>
> ---
> include/configs/nitrogen6x.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
> index c22fed70a4..72ff5c1eab 100644
> --- a/include/configs/nitrogen6x.h
> +++ b/include/configs/nitrogen6x.h
> @@ -137,6 +137,7 @@
> "fdt_addr=0x18000000\0" \
> "boot_fdt=try\0" \
> "ip_dyn=yes\0" \
> + "usb_pgood_delay=2000\0" \
> "mmcdevs=0 1\0" \
> "mmcpart=1\0" \
> "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
> @@ -206,6 +207,7 @@
> #define CONFIG_EXTRA_ENV_SETTINGS \
> "bootdevs=" CONFIG_DRIVE_TYPES "\0" \
> "umsdevs=" CONFIG_UMSDEVS "\0" \
> + "usb_pgood_delay=2000\0" \
> "console=ttymxc1\0" \
> "clearenv=if sf probe || sf probe || sf probe 1 ; then " \
> "sf erase 0xc0000 0x2000 && " \
>
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
More information about the U-Boot
mailing list