Эх сурвалжийг харах

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

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 17 жил өмнө
parent
commit
a268590406

+ 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;
 }