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

Josh Wu
2015-07-01T02:01:10Z

Hi,

Any feedback for this series patch?

Best Regards,
Josh Wu

On 6/11/2015 1:21 PM, Josh Wu wrote:
> 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(-)
>