ppc4xx: Remove temporary TLB entry in POST cache test
authorStefan Roese <sr@denx.de>
Tue, 23 Oct 2007 12:40:30 +0000 (14:40 +0200)
committerStefan Roese <sr@denx.de>
Wed, 31 Oct 2007 20:21:46 +0000 (21:21 +0100)
Signed-off-by: Stefan Roese <sr@denx.de>
post/cpu/ppc4xx/cache.c

index 109ca1f..92b751a 100644 (file)
@@ -119,6 +119,8 @@ int cache_post_test (int flags)
        if (ints)
                enable_interrupts ();
 
+       remove_tlb(virt, CACHE_POST_SIZE);
+
        return res;
 }