X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=lib_ppc%2Fcache.c;h=27e1a823c6175eb6fe45feef1e0c3736da23a6e6;hb=e492c90c26215e459aec0fdf0f8ef1fd204988f5;hp=bec092e4cebc64ff6d90ae6bbe2df3f8c044dee1;hpb=affae2bff825c1a8d2cfeaf7b270188d251d39d2;p=u-boot diff --git a/lib_ppc/cache.c b/lib_ppc/cache.c index bec092e4ce..27e1a823c6 100644 --- a/lib_ppc/cache.c +++ b/lib_ppc/cache.c @@ -22,9 +22,11 @@ */ #include +#include 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 }