]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/lib_powerpc/cpu.c
powerpc: remove 4xx support
[people/ms/u-boot.git] / post / lib_powerpc / cpu.c
index 63a861e4dd4c6dcbc1017c8cab8e350846e01b7f..915eb0a7648b2728a028674348f1ce836a3e6d1b 100644 (file)
@@ -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();