From: Stefan Roese Date: Wed, 31 Oct 2007 19:45:53 +0000 (+0100) Subject: ppc4xx: Remove temporary TLB entry in POST cache test only for 440 X-Git-Tag: v1.3.2-rc1~102^2~89 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a2685904061b35a17583d65fe47cdc2686a69eaa;p=u-boot ppc4xx: Remove temporary TLB entry in POST cache test only for 440 Signed-off-by: Stefan Roese --- 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; }