arm: mvebu: Add d-cache invalidate before enabling the d-cache
authorStefan Roese <sr@denx.de>
Sat, 25 Apr 2015 04:29:55 +0000 (06:29 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Tue, 5 May 2015 12:32:04 +0000 (14:32 +0200)
commit60b75324ea6fb0a72786f3ec36c1057f39ebe2e6
tree14103fe1613c15c74cc7b178f7c7f16c7ceb6b41
parentb81d0ea7280b2d325e7c16cce808bec035d60a08
arm: mvebu: Add d-cache invalidate before enabling the d-cache

This solves some RX problems that have been seen, when using the
mvneta ethernet driver. The cache needs to be reset into a "clean"
state before using it.

Signed-off-by: Stefan Roese <sr@denx.de>
Tested-by: Kevin Smith <kevin.smith@elecsyscorp.com>
Tested-by: Dirk Eibach <dirk.eibach@gdsys.cc>
arch/arm/mach-mvebu/cpu.c