Skip to content
Snippets Groups Projects
Commit 047cea36 authored by Shengzhou Liu's avatar Shengzhou Liu Committed by Marek Vasut
Browse files

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: default avatarShengzhou Liu <Shengzhou.Liu@freescale.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
parent 8b8d779d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment