Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> --- drivers/net/fec_imx.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c index 9d8b8c7..4893291 100644 --- a/drivers/net/fec_imx.c +++ b/drivers/net/fec_imx.c @@ -284,7 +284,7 @@ static int fec_init(struct eth_device *dev) * and do not drop the Preamble. */ writel(((imx_get_fecclk() >> 20) / 5) << 1, - fec->regs + FEC_MII_SPEED); + fec->regs + FEC_MII_SPEED); } if (fec->xcv_type == RMII) { @@ -495,7 +495,7 @@ static int fec_recv(struct eth_device *dev) /* Graceful stop complete */ if (readl(fec->regs + FEC_X_CNTRL) & 0x00000001) { fec_halt(dev); - writel(readl(fec->regs + FEC_X_CNTRL) & ~0x00000001, + writel(readl(fec->regs + FEC_X_CNTRL) & ~0x00000001, fec->regs + FEC_X_CNTRL); fec_init(dev); } -- 1.6.5.2 _______________________________________________ u-boot-v2 mailing list u-boot-v2@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/u-boot-v2