aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-09-28 23:40:09 -0600
committerJohn Rigby <john.rigby@linaro.org>2011-09-28 23:40:09 -0600
commita2e6669a920d79310c4ea5e5fad703b978eec72f (patch)
tree66d46156ec9998540b40730943d929f462362f32
parent74548284d9cf1e1bf31ef4eb3241cdf91e1fd92c (diff)
downloadu-boot-linaro-a2e6669a920d79310c4ea5e5fad703b978eec72f.tar.gz
Revert "omap: enable caches at system start-up"
This reverts commit 13d4f9bd7477b3b409f3e267b3b3d6fed5bd3e30.
-rw-r--r--arch/arm/cpu/armv7/omap3/board.c8
-rw-r--r--arch/arm/cpu/armv7/omap4/board.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c
index 0448bc9..bce3ee6 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 b842782..d47c53f 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