diff options
author | Peng Fan <Peng.Fan@freescale.com> | 2015-06-15 18:09:24 +0800 |
---|---|---|
committer | Bai Ping <b51503@freescale.com> | 2015-06-16 02:55:39 +0800 |
commit | 046e55efa686f40b4cad312e1e64348f19107bd9 (patch) | |
tree | a277bfd4320317612c4a489048024ca7c250eb12 | |
parent | 2bc93d766dee5d5dc33035446f82622c4f1fb784 (diff) | |
download | u-boot-imx-046e55efa686f40b4cad312e1e64348f19107bd9.zip u-boot-imx-046e55efa686f40b4cad312e1e64348f19107bd9.tar.gz u-boot-imx-046e55efa686f40b4cad312e1e64348f19107bd9.tar.bz2 |
MLK-11114 imx: mx6qp disable double line feature
With L2 double line fill enabled, the stress reboot test
failure is met on USB(MLK10738) or SD3.0(MLK11072). By
disabling L2 double line fill, the stress reboot can pass.
Note we are still investigating on this issue to find the
evidence how these issues are corelated with L2 double line fill.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Signed-off-by: Bai Ping <b51503@freescale.com>
-rw-r--r-- | arch/arm/cpu/armv7/mx6/soc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 660e084..6cf0b51 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -1091,6 +1091,14 @@ void v7_outer_cache_enable(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 i.MX6DQP, still disable double line fill feature due to system + * reboot issue + */ + if (is_mx6dqp()) + val &= ~(1 << 30); + writel(val, &pl310->pl310_prefetch_ctrl); val = readl(&pl310->pl310_power_ctrl); |