summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorIlya Yanok <yanok@emcraft.com>2011-12-11 13:09:28 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-12-19 17:52:43 +0100
commit076cd49ad10a6fee72d8dcd5fd70bf2de0fd2f5f (patch)
tree48510e488f4268d5923d76dee63cd3ad73b91732 /arch/arm
parentb539bedbf23fb84698ba33e532d0bf77581405d8 (diff)
downloadu-boot-imx-076cd49ad10a6fee72d8dcd5fd70bf2de0fd2f5f.zip
u-boot-imx-076cd49ad10a6fee72d8dcd5fd70bf2de0fd2f5f.tar.gz
u-boot-imx-076cd49ad10a6fee72d8dcd5fd70bf2de0fd2f5f.tar.bz2
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 <yanok@emcraft.com> Tested-by: Matthias Weisser <weisserm@arcor.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/cpu/arm926ejs/cache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c
index 4415642..ee90ab7 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();