[PATCH 4/5] OMAP4: set PL310 prefetch offset to 3

Mans Rullgard mans.rullgard at linaro.org
Tue Nov 22 02:45:52 UTC 2011


According to the PL310 TRM, 9 is not a valid value for this field,
and benchmarking shows slightly better results with a value of 3.

Signed-off-by: Mans Rullgard <mans.rullgard at linaro.org>
---
 arch/arm/mach-omap2/omap4-common.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c
index be74f78..8f33746 100644
--- a/arch/arm/mach-omap2/omap4-common.c
+++ b/arch/arm/mach-omap2/omap4-common.c
@@ -32,7 +32,7 @@
 #include "omap4-sar-layout.h"
 
 #ifdef CONFIG_CACHE_L2X0
-#define L2X0_POR_OFFSET_VALUE		0x9
+#define L2X0_POR_OFFSET_VALUE		0x3
 void __iomem *l2cache_base;
 #endif
 
-- 
1.7.7.4




More information about the linaro-dev mailing list