diff options
author | Simon Glass <sjg@chromium.org> | 2014-06-02 22:04:48 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-06-11 16:25:39 -0400 |
commit | 7e4154a553c56ccbf877ac830e15b9c23815eb4d (patch) | |
tree | dad7705451942a8ad81857650b04ce229d4de500 /arch/arm/cpu/armv7/omap-common/Makefile | |
parent | 89742924c8e1c003362b970a2d2998a61e1ca420 (diff) | |
download | u-boot-7e4154a553c56ccbf877ac830e15b9c23815eb4d.tar.gz |
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/omap-common/Makefile')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/Makefile b/arch/arm/cpu/armv7/omap-common/Makefile index 5f5132f661..7695e16d36 100644 --- a/arch/arm/cpu/armv7/omap-common/Makefile +++ b/arch/arm/cpu/armv7/omap-common/Makefile @@ -22,6 +22,10 @@ obj-y += pipe3-phy.o obj-$(CONFIG_SCSI_AHCI_PLAT) += sata.o endif +ifeq ($(CONFIG_SYS_DCACHE_OFF),) +obj-y += omap-cache.o +endif + ifeq ($(CONFIG_OMAP34XX),) obj-y += boot-common.o obj-y += lowlevel_init.o |