diff options
author | John Rigby <john.rigby@linaro.org> | 2011-09-28 23:40:09 -0600 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-09-28 23:40:09 -0600 |
commit | a2e6669a920d79310c4ea5e5fad703b978eec72f (patch) | |
tree | 66d46156ec9998540b40730943d929f462362f32 | |
parent | 74548284d9cf1e1bf31ef4eb3241cdf91e1fd92c (diff) |
Revert "omap: enable caches at system start-up"
This reverts commit 13d4f9bd7477b3b409f3e267b3b3d6fed5bd3e30.
-rw-r--r-- | arch/arm/cpu/armv7/omap3/board.c | 8 | ||||
-rw-r--r-- | arch/arm/cpu/armv7/omap4/board.c | 8 |
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 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 |