summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2013-07-11 15:23:26 (GMT)
committerStefano Babic <sbabic@denx.de>2013-07-12 07:26:08 (GMT)
commit3104ce1f6f2d541e8bf2edfb698d0f51dc43b5fb (patch)
treec4bf58e8acb4b10f103a599db133800085997ed1 /drivers
parent32cc24d3c75c2b43e8b08b117e00120b7cc32f68 (diff)
downloadu-boot-fsl-qoriq-3104ce1f6f2d541e8bf2edfb698d0f51dc43b5fb.tar.xz
net: fec: Remove bogus flush_dcache_range() call
Remove incorrectly called and duplicate flush_dcache_range() call from fec_mxc driver. The call is not needed, since the caches are already flushed in fec_tbd_init(), moreover the second argument should be the ending address, not size. Signed-off-by: Marek Vasut <marex@denx.de> Reported-by: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Stefano Babic <sbabic@denx.de> Cc: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/fec_mxc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c
index da95e28..97bf8fe 100644
--- a/drivers/net/fec_mxc.c
+++ b/drivers/net/fec_mxc.c
@@ -560,7 +560,6 @@ static int fec_init(struct eth_device *dev, bd_t* bd)
}
memset(fec->tbd_base, 0, size);
fec_tbd_init(fec);
- flush_dcache_range((unsigned)fec->tbd_base, size);
}
/*