Hello.

On 16-02-2012 14:02, Shengzhou Liu wrote:

If USB UTMI PHY is not enable, writing to portsc register will lead to
kernel hang during boot up.

Signed-off-by: Shengzhou Liu<shengzhou....@freescale.com>
[...]

diff --git a/drivers/usb/host/ehci-fsl.h b/drivers/usb/host/ehci-fsl.h
index bdf43e2..0e400c2 100644
--- a/drivers/usb/host/ehci-fsl.h
+++ b/drivers/usb/host/ehci-fsl.h
@@ -45,6 +45,7 @@
  #define FSL_SOC_USB_PRICTRL   0x40c   /* NOTE: big-endian */
  #define FSL_SOC_USB_SICTRL    0x410   /* NOTE: big-endian */
  #define FSL_SOC_USB_CTRL      0x500   /* NOTE: big-endian */
+#define CTRL_UTMI_PHY_EN       (1<<9)

   Please put spaces around << like below.

  #define CTRL_PHY_CLK_VALID    (1<<  17)
  #define SNOOP_SIZE_2GB                0x1e
  #endif                                /* _EHCI_FSL_H */

WBR, Sergei
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to