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

Tom Rini tom.rini at gmail.com
Tue Dec 13 19:43:58 CET 2011


2011/12/12 Matthias Weißer <weisserm at arcor.de>:
> 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>

Merged to u-boot-ti/master, thanks!

-- 
Tom


More information about the U-Boot mailing list