commit | 047cea3655cf34ce1f911c282e82598ded998dd2 | [log] [tgz] |
---|---|---|
author | Shengzhou Liu <Shengzhou.Liu@freescale.com> | Mon Oct 22 13:18:24 2012 +0800 |
committer | Marek Vasut <marex@denx.de> | Mon Oct 22 08:25:12 2012 +0200 |
tree | 64b4368d01fb17c1e4745977cc73dba0d8fca93a | |
parent | 8b8d779dacc149be0607dfc1b399bbdb62e57108 [diff] |
powerpc/usb: fix bug of CPU hang when missing USB PHY clock 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@freescale.com> Acked-by: Marek Vasut <marex@denx.de>