From d0f5600f544eff898bd6fa8461d363c599aa86d4 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Fri, 6 Apr 2012 09:53:48 +0200 Subject: [PATCH] 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 --- board/freescale/mx31pdk/mx31pdk.c | 8 -------- 1 file changed, 8 deletions(-) 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; } -- 2.39.5