mirror of
https://github.com/smaeul/u-boot.git
synced 2025-10-14 12:56:00 +01:00
powerpc: lib: remove leftover CONFIG_5xx
CONFIG_5xx hasn't existed since commit 502589777416 (powerpc, 5xx: remove support for 5xx). Remove this last mention of it. Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
This commit is contained in:
parent
933ada560b
commit
ec4cc0edf9
@ -11,7 +11,6 @@
|
|||||||
|
|
||||||
void flush_cache(ulong start_addr, ulong size)
|
void flush_cache(ulong start_addr, ulong size)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_5xx
|
|
||||||
ulong addr, start, end;
|
ulong addr, start, end;
|
||||||
|
|
||||||
start = start_addr & ~(CONFIG_SYS_CACHELINE_SIZE - 1);
|
start = start_addr & ~(CONFIG_SYS_CACHELINE_SIZE - 1);
|
||||||
@ -33,5 +32,4 @@ void flush_cache(ulong start_addr, ulong size)
|
|||||||
asm volatile("sync" : : : "memory");
|
asm volatile("sync" : : : "memory");
|
||||||
/* flush prefetch queue */
|
/* flush prefetch queue */
|
||||||
asm volatile("isync" : : : "memory");
|
asm volatile("isync" : : : "memory");
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user