소스 검색

ppc4xx: Remove temporary TLB entry in POST cache test only for 440

Signed-off-by: Stefan Roese <sr@denx.de>
Stefan Roese 17 년 전
부모
커밋
a268590406
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      post/cpu/ppc4xx/cache.c

+ 2 - 0
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;
 }