diff options
author | John Rigby <john.rigby@linaro.org> | 2011-09-28 23:40:09 -0600 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-10-12 10:04:33 -0600 |
commit | 47b28ca7c958685a2d3c16fd80140ca3ef518ce8 (patch) | |
tree | 2e079b46c76ede1d1f33ab51804554d806aef55e | |
parent | 8d12f5310cfc41cdd788e5542e508ffd7d5365df (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 |