[PATCH 2/2] net: imx_fec: fix RMII support for i.MX6
Hubert Feurstein
h.feurstein at gmail.com
Thu Feb 21 04:21:14 EST 2013
Signed-off-by: Hubert Feurstein <h.feurstein at gmail.com>
---
drivers/net/fec_imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 6dfb093..80fb2ce 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -309,7 +309,7 @@ static int fec_init(struct eth_device *dev)
}
if (fec->xcv_type == RMII) {
- if (fec_is_imx28(fec)) {
+ if (fec_is_imx28(fec) || fec_is_imx6(fec)) {
rcntl |= FEC_R_CNTRL_RMII_MODE | FEC_R_CNTRL_FCE |
FEC_R_CNTRL_NO_LGTH_CHECK;
} else {
--
1.8.1.3
More information about the barebox
mailing list