From 1e668fb228a5789a48b219b2da9c6dca7e22c531 Mon Sep 17 00:00:00 2001 From: "Ye.Li" <B37916@freescale.com> Date: Mon, 23 Mar 2015 04:56:48 +0800 Subject: [PATCH] MLK-10448-2 mx6: L2cache: Enable the double line fill for i.MX6DQP Since i.MX6DQP has fixed the L2 cache issue, enable the double line fill feature to provide better performance. Signed-off-by: Ye.Li <B37916@freescale.com> --- arch/arm/mach-imx/cache.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-imx/cache.c b/arch/arm/mach-imx/cache.c index 82257f3280f..3d7e12d0d6f 100644 --- a/arch/arm/mach-imx/cache.c +++ b/arch/arm/mach-imx/cache.c @@ -127,6 +127,9 @@ void v7_outer_cache_enable(void) #ifndef CONFIG_MX6Q val |= 0x40800000; +#else + if (is_mx6dqp()) + val |= 0x40800000; #endif writel(val, &pl310->pl310_prefetch_ctrl); -- GitLab