9
0
Fork 0

net: imx_fec: fix RMII support for i.MX6

Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Hubert Feurstein 2013-02-21 10:21:14 +01:00 committed by Sascha Hauer
parent 638f91bd16
commit 1208df19ca
1 changed files with 1 additions and 1 deletions

View File

@ -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 {