[U-Boot] [PATCH v3] powerpc/usb: fix bug of CPU hang when missing USB PHY clock

Marek Vasut marex at denx.de
Mon Oct 22 08:28:10 CEST 2012


Dear Shengzhou Liu,

> when missing USB PHY clock, u-boot will hang during USB
> initialization when issuing "usb start". We should check
> USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case.
> 
> Due to controller issue of PHY_CLK_VALID in ULPI mode, we set
> USB_EN before checking PHY_CLK_VALID, otherwise PHY_CLK_VALID
> doesn't work.
> 
> Signed-off-by: Shengzhou Liu <Shengzhou.Liu at freescale.com>
> Acked-by: Marek Vasut <marex at denx.de>
[...]

Applied, thanks

Best regards,
Marek Vasut


More information about the U-Boot mailing list