summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/fec_imx.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 15c7a4a480..45af78f567 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -302,10 +302,8 @@ static int fec_init(struct eth_device *dev)
if (fec->xcv_type == RMII) {
if (cpu_is_mx28()) {
- rcntl |= FEC_R_CNTRL_RMII_MODE;
- /* the linux driver add these bits, why not we? */
- /* | FEC_R_CNTRL_FCE | */
- /* FEC_R_CNTRL_NO_LGTH_CHECK */
+ rcntl |= FEC_R_CNTRL_RMII_MODE | FEC_R_CNTRL_FCE |
+ FEC_R_CNTRL_NO_LGTH_CHECK;
} else {
/* disable the gasket and wait */
writel(0, fec->regs + FEC_MIIGSK_ENR);