Signed-off-by: Andrey Smirnov <andrew.smirnov@xxxxxxxxx> --- 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 d132586..46932fe 100644 --- a/drivers/net/fec_imx.c +++ b/drivers/net/fec_imx.c @@ -740,7 +740,7 @@ static int fec_probe(struct device_d *dev) /* Reset chip. */ writel(FEC_ECNTRL_RESET, fec->regs + FEC_ECNTRL); - while(readl(fec->regs + FEC_ECNTRL) & 1) { + while(readl(fec->regs + FEC_ECNTRL) & FEC_ECNTRL_RESET) { udelay(10); } -- 2.5.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox