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

Andy Fleming afleming at gmail.com
Mon Feb 13 09:14:17 CET 2012


You moved the USB_EN setting:


+ /* Enable interface. */
+ setbits_be32(&ehci->control, USB_EN);
+

[...]

- /* Enable interface. */
- setbits_be32(&ehci->control, USB_EN);
-


Should we clear this bit if we don't find a valid clock? The patch
description didn't say why you moved this write.

Andy


More information about the U-Boot mailing list