[U-Boot] [U-Boot, v3, 3/4] ARM: cache: implement a default weak flush_cache() function

Tom Rini trini at konsulko.com
Thu Aug 13 15:20:10 CEST 2015


On Mon, Jul 27, 2015 at 11:40:17AM +0800, Wu, Josh wrote:

> Current many cpu use the same flush_cache() function, which just call
> the flush_dcache_range().
> So implement a weak flush_cache() for all the cpus to use.
> 
> In original weak flush_cache() in arch/arm/lib/cache.c, there has some
> code for ARM1136 & ARM926ejs. But in the arch/arm/cpu/arm1136/cpu.c and
> arch/arm/cpu/arm926ejs/cache.c, there implements a real flush_cache()
> function as well. That means the original code for ARM1136 & ARM926ejs
> in weak flush_cache() of arch/arm/lib/cache.c is totally useless.
> 
> So in this patch remove such code in flush_cache() and only call
> flush_dcache_range().
> 
> Signed-off-by: Josh Wu <josh.wu at atmel.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150813/cbb3bde4/attachment-0001.sig>


More information about the U-Boot mailing list