summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap3/board.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-06-03 04:04:48 (GMT)
committerTom Rini <trini@ti.com>2014-06-11 20:25:39 (GMT)
commit7e4154a553c56ccbf877ac830e15b9c23815eb4d (patch)
treedad7705451942a8ad81857650b04ce229d4de500 /arch/arm/cpu/armv7/omap3/board.c
parent89742924c8e1c003362b970a2d2998a61e1ca420 (diff)
downloadu-boot-7e4154a553c56ccbf877ac830e15b9c23815eb4d.tar.xz
am33xx/omap: Allow cache enable for all Sitara/OMAP
Enable the cache for all devices, unless CONFIG_SYS_DCACHE_OFF is defined. This speeds up the Beaglebone Black boot considerable. (Tested only on Beaglebone Black with SD card boot) Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu/armv7/omap3/board.c')
-rw-r--r--arch/arm/cpu/armv7/omap3/board.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c
index 9bb1a1c..e252e7f 100644
--- a/arch/arm/cpu/armv7/omap3/board.c
+++ b/arch/arm/cpu/armv7/omap3/board.c
@@ -478,11 +478,3 @@ void omap3_outer_cache_disable(void)
omap3_update_aux_cr(0, 0x2);
}
#endif /* !CONFIG_SYS_L2CACHE_OFF */
-
-#ifndef CONFIG_SYS_DCACHE_OFF
-void enable_caches(void)
-{
- /* Enable D-cache. I-cache is already enabled in start.S */
- dcache_enable();
-}
-#endif /* !CONFIG_SYS_DCACHE_OFF */