From: Ilya Yanok Date: Sun, 11 Dec 2011 13:09:28 +0000 (+0000) Subject: arm926ejs: remove noop flush_dcache_all function X-Git-Tag: v2011.12-rc3~22 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=076cd49ad10a6fee72d8dcd5fd70bf2de0fd2f5f;p=u-boot arm926ejs: remove noop flush_dcache_all function 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 Tested-by: Matthias Weisser --- diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c index 441564203b..ee90ab7195 100644 --- a/arch/arm/cpu/arm926ejs/cache.c +++ b/arch/arm/cpu/arm926ejs/cache.c @@ -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();