
20 Jul
2012
20 Jul
'12
6:03 p.m.
Hi Macpaul,
2012/7/17 Macpaul Lin macpaul@gmail.com
This commit does the following updates.
- Split the common cache access from cpu.c into lib folder.
- Rename the following cache api to adapt common.h
- dcache_flush_rang -> flush_dcache_rang
- icache_inval_range -> invalidate_icache_range
- 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!