summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/Kconfig
diff options
context:
space:
mode:
authorJason Liu <r64343@freescale.com>2015-07-24 17:06:11 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 09:24:07 -0500
commit0e9a87bbd4f7d1c48e42c65aa94939a7283599dd (patch)
treeb1381bc2e965016c2420bea64532fd0042dfef79 /arch/arm/mach-imx/Kconfig
parent390ff151673f283a034b7012931a46745bfd3942 (diff)
MLK-11284 ARM: ERRATA: Add ARM/MP: 814220 SW workaround
ARM/MP: 814220—B-Cache maintenance by set/way operations can execute out of order. Description: The v7 ARM states that all cache and branch predictor maintenance operations that do not specify an address execute, relative to each other, in program order. However, because of this erratum, an L2 set/way cache maintenance operation can overtake an L1 set/way cache maintenance operation, this would cause the data corruption. This ERRATA affected the Cortex-A7 and present in r0p2, r0p3, r0p4, r0p5. This patch is the SW workaround by adding a DSB before changing cache levels as the ARM ERRATA: ARM/MP: 814220 told in the ARM ERRATA documentation. Signed-off-by: Jason Liu <r64343@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/Kconfig')
-rw-r--r--arch/arm/mach-imx/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig
index 117100a2e1da..b883e2a07c56 100644
--- a/arch/arm/mach-imx/Kconfig
+++ b/arch/arm/mach-imx/Kconfig
@@ -861,6 +861,7 @@ config SOC_IMX6UL
select MIGHT_HAVE_PCI
select PCI_DOMAINS if PCI
select SOC_IMX6
+ select ARM_ERRATA_814220
help
This enables support for Freescale i.MX6 UltraLite processor.
@@ -871,6 +872,7 @@ config SOC_IMX7
select ARM_GIC
select HAVE_SMP
select HAVE_IMX_DDRC
+ select ARM_ERRATA_814220
config SOC_IMX7D
bool "i.MX7 Dual support"