]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_ppc/cache.c
* Patch by Martin Winistoerfer, 23 Mar 2003
[karo-tx-uboot.git] / lib_ppc / cache.c
index bec092e4cebc64ff6d90ae6bbe2df3f8c044dee1..a81ab5e363f013edab4a84e470927a51f3af88a4 100644 (file)
 
 #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
 }