am33xx/omap: Allow cache enable for all Sitara/OMAP
authorSimon Glass <sjg@chromium.org>
Tue, 3 Jun 2014 04:04:48 +0000 (22:04 -0600)
committerTom Rini <trini@ti.com>
Wed, 11 Jun 2014 20:25:39 +0000 (16:25 -0400)
commit7e4154a553c56ccbf877ac830e15b9c23815eb4d
treedad7705451942a8ad81857650b04ce229d4de500
parent89742924c8e1c003362b970a2d2998a61e1ca420
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>
arch/arm/cpu/armv7/am33xx/board.c
arch/arm/cpu/armv7/omap-common/Makefile
arch/arm/cpu/armv7/omap-common/hwinit-common.c
arch/arm/cpu/armv7/omap-common/omap-cache.c [new file with mode: 0644]
arch/arm/cpu/armv7/omap3/board.c