From a2685904061b35a17583d65fe47cdc2686a69eaa Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Wed, 31 Oct 2007 20:45:53 +0100 Subject: [PATCH] ppc4xx: Remove temporary TLB entry in POST cache test only for 440 Signed-off-by: Stefan Roese --- post/cpu/ppc4xx/cache.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post/cpu/ppc4xx/cache.c b/post/cpu/ppc4xx/cache.c index 38e6e98cc7..30d5088425 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; } -- 2.39.5