[U-Boot] [resend][PATCH 0/2] ARM: cache: clean up the code to drop the empty stub functions

Josh Wu josh.wu at atmel.com
Thu Jun 11 07:21:44 CEST 2015


This series is based on the patch I sent:
  http://patchwork.ozlabs.org/patch/481095/
As above introduces the default empty function for invalidate_dcache_range() &
flush_dcache_range() in arch/arm/lib/cache.c.
So in this series, we can drop the empty stubs in arch/arm/cpu/

Also this series introduces a default function for flush_cache().


Josh Wu (2):
  ARM: cache: drop the empty dcache functions as we have it in
    lib/cache.c
  ARM: cache: implement a default flush_cache() function

 arch/arm/cpu/arm1136/cpu.c     | 17 -----------------
 arch/arm/cpu/arm926ejs/cache.c | 17 -----------------
 arch/arm/cpu/armv7/cache_v7.c  | 21 ---------------------
 arch/arm/cpu/armv8/cache_v8.c  | 16 ----------------
 arch/arm/lib/cache.c           | 26 +++++---------------------
 5 files changed, 5 insertions(+), 92 deletions(-)

-- 
1.9.1



More information about the U-Boot mailing list