From 98f705c9cefdfdba62c069821bbba10273a0a8ed Mon Sep 17 00:00:00 2001 From: Heiko Schocher Date: Tue, 27 Jun 2017 16:49:14 +0200 Subject: powerpc: remove 4xx support There was for long time no activity in the 4xx area. We need to go further and convert to Kconfig, but it turned out, nobody is interested anymore in 4xx, so remove it. Signed-off-by: Heiko Schocher --- post/lib_powerpc/cpu.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'post/lib_powerpc') diff --git a/post/lib_powerpc/cpu.c b/post/lib_powerpc/cpu.c index 63a861e..915eb0a 100644 --- a/post/lib_powerpc/cpu.c +++ b/post/lib_powerpc/cpu.c @@ -66,10 +66,6 @@ int cpu_post_test (int flags) WATCHDOG_RESET(); if (ic) icache_disable (); -#ifdef CONFIG_4xx_DCACHE - /* disable cache */ - change_tlb(gd->bd->bi_memstart, gd->bd->bi_memsize, TLB_WORD2_I_ENABLE); -#endif if (ret == 0) ret = cpu_post_test_cmp (); @@ -118,10 +114,6 @@ int cpu_post_test (int flags) if (ic) icache_enable (); -#ifdef CONFIG_4xx_DCACHE - /* enable cache */ - change_tlb(gd->bd->bi_memstart, gd->bd->bi_memsize, 0); -#endif WATCHDOG_RESET(); -- cgit v1.1