[U-Boot] [PATCH v2] nds32: split common cache access from cpu into lib

Macpaul Lin
2012-07-20T16:03:17Z

Hi Macpaul,

2012/7/17 Macpaul Lin <macpaul@gmail.com>

> This commit does the following updates.
> 1. Split the common cache access from cpu.c into lib folder.
> 2. Rename the following cache api to adapt common.h
> - dcache_flush_rang -> flush_dcache_rang
> - icache_inval_range -> invalidate_icache_range
> 3. Add invalidate_dcache_range
>
> Signed-off-by: Macpaul Lin <macpaul@gmail.com>
> ---
> Changes for v2:
> - flush_dcache_range: merge two asm calls into a single
> asm volatile() block.
> - Replace __asm__ __volatile__ block into asm volatile()
>

This commit has been applied into u-boot-nds32/master

Thanks!