summaryrefslogtreecommitdiff
path: root/post/cpu
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-10-31 20:45:53 +0100
committerStefan Roese <sr@denx.de>2007-10-31 21:21:47 +0100
commita2685904061b35a17583d65fe47cdc2686a69eaa (patch)
tree62e1839e98a3680382c66d6ed2a6dc59a02e1b04 /post/cpu
parentff768cb168d8157c24a25016dbfbeb465e47f420 (diff)
ppc4xx: Remove temporary TLB entry in POST cache test only for 440
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 38e6e98cc73..30d50884257 100644
--- a/post/cpu/ppc4xx/cache.c
+++ b/post/cpu/ppc4xx/cache.c
@@ -119,7 +119,9 @@ int cache_post_test (int flags)
if (ints)
enable_interrupts ();
+#ifdef CONFIG_440
remove_tlb((u32)virt, CACHE_POST_SIZE);
+#endif
return res;
}