summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-23 14:40:30 +0200
committerStefan Roese <sr@denx.de>2007-10-31 21:21:46 +0100
commit6fa397df67c0f269e4528bf181a6e8c88f9723f9 (patch)
treef497e5f1248783c05fd168c05482723d6ff65101
parent1338e6a81834099ba19733b69aafd8ef5f098094 (diff)
ppc4xx: Remove temporary TLB entry in POST cache test
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--post/cpu/ppc4xx/cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/post/cpu/ppc4xx/cache.c b/post/cpu/ppc4xx/cache.c
index 109ca1fbd..92b751af1 100644
--- a/post/cpu/ppc4xx/cache.c
+++ b/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;
}