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 109ca1fbd1076af119758351562f6e0eca8b8e64..92b751af10ddee5c8c326cc25cccf22bcb8611a6 100644 (file)
@@ -119,6 +119,8 @@ int cache_post_test (int flags)
        if (ints)
                enable_interrupts ();
 
+       remove_tlb(virt, CACHE_POST_SIZE);
+
        return res;
 }