[U-Boot] [PATCH] arm926ejs: remove noop flush_dcache_all function

Matthias Weißer weisserm at arcor.de
Mon Dec 12 10:20:09 CET 2011


Am 12.12.2011 00:09, schrieb Ilya Yanok:
 > 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 at emcraft.com>
 > ---
 >
 > Hi Matthias,
 >
 > thanks for cathing this. Surely my initial patch was totally wrong.
 > Could you please test this one?

This patches solves at least my problem. Thanks.

Tested-by: Matthias Weisser <weisserm at arcor.de>

Matthias


More information about the U-Boot mailing list