summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobby Cai <r63905@freescale.com>2015-06-24 10:54:19 +0800
committerRobby Cai <r63905@freescale.com>2015-06-24 15:18:29 +0800
commit9d04b57f952bedcaef1d1d3339420ee39707d0fe (patch)
treed55cc7c91dce91edebc07015a3bb9f02957bca75
parentf0cf58cf4a45c4212b5648f2a814886b6cf6b0dd (diff)
MLK-11159-1 Revert "MLK-11114 ARM: imx6: disable double linefill feature on 6QP"
This reverts commit b16930c52cb512f4d53dd222715a65aa530cc6fe. After further investigation, find the L2 cache double line fill is not the root cause for USB or SD3.0 stress reboot failure. With the fix in USB driver, and the L2 double line fill enabled, the reboot stress test has passed 4-days. So revert the patch to make L2 double line fill enabled on imx6qp by default. Signed-off-by: Robby Cai <r63905@freescale.com>
-rw-r--r--arch/arm/mach-imx/system.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-imx/system.c b/arch/arm/mach-imx/system.c
index 49d23b29b03c..a428edf37268 100644
--- a/arch/arm/mach-imx/system.c
+++ b/arch/arm/mach-imx/system.c
@@ -170,13 +170,6 @@ void __init imx_init_l2cache(void)
if (((cache_id & L2X0_CACHE_ID_PART_MASK) == L2X0_CACHE_ID_PART_L310)
&& ((cache_id & L2X0_CACHE_ID_RTL_MASK) < L2X0_CACHE_ID_RTL_R3P2))
val &= ~(1 << 30);
-
- /* To 6DQP, double linefill leads to system unstable. Disable
- * double linefill on these platform.
- */
- if (cpu_is_imx6q() || imx_get_soc_revision() == IMX_CHIP_REVISION_2_0)
- val &= ~(1 << 30);
-
writel_relaxed(val, l2x0_base + L2X0_PREFETCH_CTRL);
val = L2X0_DYNAMIC_CLK_GATING_EN | L2X0_STNDBY_MODE_EN;
writel_relaxed(val, l2x0_base + L2X0_POWER_CTRL);