]> git.sur5r.net Git - u-boot/commit
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)
commit076cd49ad10a6fee72d8dcd5fd70bf2de0fd2f5f
tree48510e488f4268d5923d76dee63cd3ad73b91732
parentb539bedbf23fb84698ba33e532d0bf77581405d8
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>
arch/arm/cpu/arm926ejs/cache.c