summaryrefslogtreecommitdiff
path: root/arch/arm/lib/cache.c
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2010-09-17 13:10:32 +0200
committerWolfgang Denk <wd@denx.de>2010-09-19 19:29:51 +0200
commit7e4a9e6dc819b2b3499659ca90e1e9c6d4ca3077 (patch)
tree5e386feeea7c803a1800484bee8253796c030a39 /arch/arm/lib/cache.c
parent95c6f6d34d4ff23f4d005488d84682eec5fa9ec8 (diff)
downloadu-boot-imx-7e4a9e6dc819b2b3499659ca90e1e9c6d4ca3077.zip
u-boot-imx-7e4a9e6dc819b2b3499659ca90e1e9c6d4ca3077.tar.gz
u-boot-imx-7e4a9e6dc819b2b3499659ca90e1e9c6d4ca3077.tar.bz2
ARM (ARM11): add data cache support, test on Qong board
Add data cache support for arm1136 systems. Enable "cache" command on Qong board and test performance. Test 1: Loading 127 MB of data from NAND flash into RAM: Instr. Cache off on on Data Cache off off on -------------------------------------------------- QONG (ARM11) 177s 95s 43s = x 4.1 Test 2: uncompressing a gzipped image from RAM to RAM (size compressed: 6.5 MiB, uncompressed: 35 MiB): Instr. Cache off on on Data Cache off off on -------------------------------------------------- QONG (ARM11) 1.54s 0.95s 0.18s = x 8.6 Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'arch/arm/lib/cache.c')
-rw-r--r--arch/arm/lib/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c
index 3684cad..55b633e 100644
--- a/arch/arm/lib/cache.c
+++ b/arch/arm/lib/cache.c
@@ -27,7 +27,7 @@
void flush_cache (unsigned long dummy1, unsigned long dummy2)
{
-#ifdef CONFIG_OMAP2420
+#if defined(CONFIG_OMAP2420) || defined(CONFIG_ARM1136)
void arm1136_cache_flush(void);
arm1136_cache_flush();