From: Stefano Babic Date: Fri, 6 Apr 2012 07:53:48 +0000 (+0200) Subject: MX31: mx31pdk: drop enable_caches from board file X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=d0f5600f544eff898bd6fa8461d363c599aa86d4;p=u-boot.git MX31: mx31pdk: drop enable_caches from board file enable_caches() is implemented now in cpu.c for ARM1136. Signed-off-by: Stefano Babic CC: Fabio Estevam Acked-by: Fabio Estevam --- diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c index 1d7b4f6d99..9f8bc53e71 100644 --- a/board/freescale/mx31pdk/mx31pdk.c +++ b/board/freescale/mx31pdk/mx31pdk.c @@ -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; }