Explorar o código

ppc4xx: Remove temporary TLB entry in POST cache test

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese %!s(int64=17) %!d(string=hai) anos
pai
achega
6fa397df67
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      post/cpu/ppc4xx/cache.c

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

@@ -119,6 +119,8 @@ int cache_post_test (int flags)
 	if (ints)
 		enable_interrupts ();
 
+	remove_tlb(virt, CACHE_POST_SIZE);
+
 	return res;
 }