From 6fa397df67c0f269e4528bf181a6e8c88f9723f9 Mon Sep 17 00:00:00 2001
From: Stefan Roese <sr@denx.de>
Date: Tue, 23 Oct 2007 14:40:30 +0200
Subject: [PATCH] ppc4xx: Remove temporary TLB entry in POST cache test

Signed-off-by: Stefan Roese <sr@denx.de>
---
 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 109ca1fbd1..92b751af10 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;
 }
 
-- 
2.39.5