Răsfoiți Sursa

ppc4xx: Remove temporary TLB entry in POST cache test only for 440

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 17 ani în urmă
părinte
comite
a268590406
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      post/cpu/ppc4xx/cache.c

+ 2 - 0
post/cpu/ppc4xx/cache.c

@@ -119,7 +119,9 @@ int cache_post_test (int flags)
 	if (ints)
 		enable_interrupts ();
 
+#ifdef CONFIG_440
 	remove_tlb((u32)virt, CACHE_POST_SIZE);
+#endif
 
 	return res;
 }