]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
MX31: mx31pdk: drop enable_caches from board file
authorStefano Babic <sbabic@denx.de>
Fri, 6 Apr 2012 07:53:48 +0000 (09:53 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 16 Apr 2012 12:53:59 +0000 (14:53 +0200)
enable_caches() is implemented now in cpu.c for
ARM1136.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Fabio Estevam <fabio.estevam@freescale.com>
board/freescale/mx31pdk/mx31pdk.c

index 1d7b4f6d99be9f43866d046ba6be2a00a4dab3de..9f8bc53e711c02fd40ed9f2b58b35417a24a277a 100644 (file)
@@ -71,19 +71,11 @@ int board_early_init_f(void)
        return 0;
 }
 
-void enable_caches(void)
-{
-       icache_enable();
-       dcache_enable();
-}
-
 int board_init(void)
 {
        /* adress of boot parameters */
        gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
 
-       enable_caches();
-
        return 0;
 }