summaryrefslogtreecommitdiff
path: root/post/cpu
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 /post/cpu
parent1338e6a81834099ba19733b69aafd8ef5f098094 (diff)
downloadu-boot-imx-6fa397df67c0f269e4528bf181a6e8c88f9723f9.zip
u-boot-imx-6fa397df67c0f269e4528bf181a6e8c88f9723f9.tar.gz
u-boot-imx-6fa397df67c0f269e4528bf181a6e8c88f9723f9.tar.bz2
ppc4xx: Remove temporary TLB entry in POST cache test
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'post/cpu')
-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 109ca1f..92b751a 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;
}