Message ID | 20210413193827.2632540-2-rasmus.villemoes@prevas.dk |
---|---|
State | Superseded |
Delegated to: | Stefan Roese |
Headers | show |
Series | powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD | expand |
On 13.04.21 21:38, Rasmus Villemoes wrote: > CONFIG_5xx hasn't existed since commit 502589777416 (powerpc, 5xx: > remove support for 5xx). Remove this last mention of it. > > Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> > --- > arch/powerpc/lib/cache.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/powerpc/lib/cache.c b/arch/powerpc/lib/cache.c > index 3c3c470bbb..3e487f50fe 100644 > --- a/arch/powerpc/lib/cache.c > +++ b/arch/powerpc/lib/cache.c > @@ -11,7 +11,6 @@ > > void flush_cache(ulong start_addr, ulong size) > { > -#ifndef CONFIG_5xx > ulong addr, start, end; > > start = start_addr & ~(CONFIG_SYS_CACHELINE_SIZE - 1); > @@ -33,5 +32,4 @@ void flush_cache(ulong start_addr, ulong size) > asm volatile("sync" : : : "memory"); > /* flush prefetch queue */ > asm volatile("isync" : : : "memory"); > -#endif > } > Reviewed-by: Stefan Roese <sr@denx.de> Thanks, Stefan
diff --git a/arch/powerpc/lib/cache.c b/arch/powerpc/lib/cache.c index 3c3c470bbb..3e487f50fe 100644 --- a/arch/powerpc/lib/cache.c +++ b/arch/powerpc/lib/cache.c @@ -11,7 +11,6 @@ void flush_cache(ulong start_addr, ulong size) { -#ifndef CONFIG_5xx ulong addr, start, end; start = start_addr & ~(CONFIG_SYS_CACHELINE_SIZE - 1); @@ -33,5 +32,4 @@ void flush_cache(ulong start_addr, ulong size) asm volatile("sync" : : : "memory"); /* flush prefetch queue */ asm volatile("isync" : : : "memory"); -#endif }
CONFIG_5xx hasn't existed since commit 502589777416 (powerpc, 5xx: remove support for 5xx). Remove this last mention of it. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> --- arch/powerpc/lib/cache.c | 2 -- 1 file changed, 2 deletions(-)