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

Macpaul Lin macpaul at gmail.com
Fri Jul 20 18:03:17 CEST 2012


Hi Macpaul,

2012/7/17 Macpaul Lin <macpaul at 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 at 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!


More information about the U-Boot mailing list