diff options
Diffstat (limited to 'lib_ppc/cache.c')
-rw-r--r-- | lib_ppc/cache.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_ppc/cache.c b/lib_ppc/cache.c index bec092e..a81ab5e 100644 --- a/lib_ppc/cache.c +++ b/lib_ppc/cache.c @@ -23,8 +23,10 @@ #include <common.h> + void flush_cache (ulong start_addr, ulong size) { +#ifndef CONFIG_5xx ulong addr, end_addr = start_addr + size; if (CFG_CACHELINE_SIZE) { @@ -44,4 +46,5 @@ void flush_cache (ulong start_addr, ulong size) } asm ("sync"); /* Always flush prefetch queue in any case */ asm ("isync"); +#endif } |