summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorEric Sun <jian.sun@freescale.com>2012-05-03 14:05:04 +0800
committerJustin Waters <justin.waters@timesys.com>2012-09-12 11:05:49 -0400
commit8546016a0833491b5130414d1badd376c5938de5 (patch)
tree2d9ee739f45f82f47d51f6df07dcc57cb57c50e6 /board
parent260b904d22175b242131eefbb5153418c88cc07c (diff)
ENGR00181337-4 i.mx6 : i.mx6sl: Fix FEC RX CRC Error
Since FEC_RX_ER is not connected with PHY(LAN8720A), we need either configure FEC_RX_ER PAD to other mode than FEC_RX_ER, or configure FEC_RX_ER PAD to FEC_RX_ER but need pull it down, otherwise, FEC MAC will report CRC error always. We configure FEC_RX_ER PAD to GPIO mode here and remove the SW hack which ignore the CRC error in fec driver Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mx6sl_arm2/mx6sl_arm2.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/board/freescale/mx6sl_arm2/mx6sl_arm2.c b/board/freescale/mx6sl_arm2/mx6sl_arm2.c
index c6c3e8ee6b..cff96c05fd 100644
--- a/board/freescale/mx6sl_arm2/mx6sl_arm2.c
+++ b/board/freescale/mx6sl_arm2/mx6sl_arm2.c
@@ -593,7 +593,16 @@ iomux_v3_cfg_t enet_pads[] = {
#else
MX6SL_PAD_FEC_REF_CLK__GPIO_4_26, /* clock from OSC */
#endif
- MX6SL_PAD_FEC_RX_ER__FEC_RX_ER,
+
+ /*
+ * Since FEC_RX_ER is not connected with PHY(LAN8720A), we need
+ * either configure FEC_RX_ER PAD to other mode than FEC_RX_ER,
+ * or configure FEC_RX_ER PAD to FEC_RX_ER but need pull it down,
+ * otherwise, FEC MAC will report CRC error always. We configure
+ * FEC_RX_ER PAD to GPIO mode here.
+ */
+
+ MX6SL_PAD_FEC_RX_ER__GPIO_4_19,
MX6SL_PAD_FEC_TX_CLK__GPIO_4_21, /* Phy power enable */
};