summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2010-12-06 17:14:16 +0800
committerFrank Li <Frank.Li@freescale.com>2010-12-06 18:38:32 +0800
commit4d7ece34fb0a17defe1c5df657f27d6cc1402511 (patch)
treebfcc0ffad1d893c6be7cf2661b36d17f0a12319a
parentde208de1b4b0df2b178f26fc5d692332351cbe0f (diff)
ENGR00134193-2 MX28: Fix FEC can't found phy after fix timer issue
mdelay(10) actually delay 50ms before fix timer issue. After fix timer issue. It should set to 50ms Signed-off-by: Frank Li <Frank.Li@freescale.com>
-rw-r--r--arch/arm/mach-mx28/mx28evk_pins.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-mx28/mx28evk_pins.c b/arch/arm/mach-mx28/mx28evk_pins.c
index 3b6afe4118b3..1990b925f681 100644
--- a/arch/arm/mach-mx28/mx28evk_pins.c
+++ b/arch/arm/mach-mx28/mx28evk_pins.c
@@ -1120,7 +1120,13 @@ int mx28evk_enet_gpio_init(void)
/* reset phy */
gpio_request(MXS_PIN_TO_GPIO(PINID_ENET0_RX_CLK), "PHY_RESET");
gpio_direction_output(MXS_PIN_TO_GPIO(PINID_ENET0_RX_CLK), 0);
- mdelay(10);
+
+ /*
+ * Before timer bug fix(set wrong match value of timer),
+ * mdelay(10) delay 50ms actually.
+ * So change delay to 50ms after timer issue fix.
+ */
+ mdelay(50);
gpio_direction_output(MXS_PIN_TO_GPIO(PINID_ENET0_RX_CLK), 1);
return 0;