]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm926ejs: remove noop flush_dcache_all function
authorIlya Yanok <yanok@emcraft.com>
Sun, 11 Dec 2011 13:09:28 +0000 (13:09 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 19 Dec 2011 16:52:43 +0000 (17:52 +0100)
Commit 2f3427c added noop cache functions implementation for arm926ejs
to fix compilation of drivers depending on these functions (DaVinci
EMAC in particular).

Unfortunately, the bug was introduced: noop implementation calls
dcache_disable which calls flush_dcache_all which in turn calls
dcache_disable thus creating an infinite loop.

This patch removes noop implementation for flush_dcache_all, we already
have default one in arch/arm/lib/cache.c and it should be used instead.

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Tested-by: Matthias Weisser <weisserm@arcor.de>
arch/arm/cpu/arm926ejs/cache.c

index 441564203bd99868435aea3099ff3788a955109d..ee90ab71958792f5257a304d6db5be589f21d510 100644 (file)
@@ -38,11 +38,6 @@ void invalidate_dcache_all(void)
        dcache_noop();
 }
 
-void flush_dcache_all(void)
-{
-       dcache_noop();
-}
-
 void invalidate_dcache_range(unsigned long start, unsigned long stop)
 {
        dcache_noop();