From a2e6669a920d79310c4ea5e5fad703b978eec72f Mon Sep 17 00:00:00 2001 From: John Rigby Date: Wed, 28 Sep 2011 23:40:09 -0600 Subject: Revert "omap: enable caches at system start-up" This reverts commit 13d4f9bd7477b3b409f3e267b3b3d6fed5bd3e30. --- arch/arm/cpu/armv7/omap3/board.c | 8 -------- arch/arm/cpu/armv7/omap4/board.c | 8 -------- 2 files changed, 16 deletions(-) diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c index 0448bc93f..bce3ee695 100644 --- a/arch/arm/cpu/armv7/omap3/board.c +++ b/arch/arm/cpu/armv7/omap3/board.c @@ -402,11 +402,3 @@ void v7_outer_cache_disable(void) omap3_update_aux_cr(0, 0x2); } #endif - -#ifndef CONFIG_SYS_DCACHE_OFF -void enable_caches(void) -{ - /* Enable D-cache. I-cache is already enabled in start.S */ - dcache_enable(); -} -#endif diff --git a/arch/arm/cpu/armv7/omap4/board.c b/arch/arm/cpu/armv7/omap4/board.c index b84278279..d47c53f58 100644 --- a/arch/arm/cpu/armv7/omap4/board.c +++ b/arch/arm/cpu/armv7/omap4/board.c @@ -373,11 +373,3 @@ void v7_outer_cache_disable(void) set_pl310_ctrl_reg(0); } #endif - -#ifndef CONFIG_SYS_DCACHE_OFF -void enable_caches(void) -{ - /* Enable D-cache. I-cache is already enabled in start.S */ - dcache_enable(); -} -#endif -- cgit v1.2.3