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.Liu@xxxxxxxxxxxxx>
[...]
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 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html