aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fsl_devices.h
diff options
context:
space:
mode:
authorShengzhou Liu <Shengzhou.Liu@freescale.com>2012-08-22 06:17:00 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-05 19:52:08 -0400
commit3735ba8db8e6ea22ad3ff524328926d8d780a884 (patch)
tree002b17dc5fe22c4c437f4f79ac8657c343587243 /include/linux/fsl_devices.h
parent67990472c77b06cc591dd59923542f64da91453d (diff)
powerpc/usb: fix bug of CPU hang when missing USB PHY clock
when missing USB PHY clock, kernel booting up will hang during USB initialization. We should check USBGP[PHY_CLK_VALID] bit to avoid CPU hanging in this case. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fsl_devices.h')
-rw-r--r--include/linux/fsl_devices.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index 15be561e7397..ccfc4bb3dc48 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -19,6 +19,7 @@
19 19
20#define FSL_UTMI_PHY_DLY 10 /*As per P1010RM, delay for UTMI 20#define FSL_UTMI_PHY_DLY 10 /*As per P1010RM, delay for UTMI
21 PHY CLK to become stable - 10ms*/ 21 PHY CLK to become stable - 10ms*/
22#define FSL_USB_PHY_CLK_TIMEOUT 1000 /* uSec */
22#define FSL_USB_VER_OLD 0 23#define FSL_USB_VER_OLD 0
23#define FSL_USB_VER_1_6 1 24#define FSL_USB_VER_1_6 1
24#define FSL_USB_VER_2_2 2 25#define FSL_USB_VER_2_2 2