commit | d407e1fcea60d5de96b6750d4bd602c3a6f8fc86 | [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 | 6a2386686d1c6c84347aac41395009cc97ae8d27 [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>