public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] ARM: implement erratum 716044 workaround
@ 2013-03-04 23:29 Stephen Warren
  2013-03-04 23:29 ` [U-Boot] [PATCH 2/2] ARM: tegra: enable workaround for ARM erratum 716044 Stephen Warren
  2013-03-21 16:29 ` [U-Boot] [PATCH 1/2] ARM: implement erratum 716044 workaround Tom Warren
  0 siblings, 2 replies; 11+ messages in thread
From: Stephen Warren @ 2013-03-04 23:29 UTC (permalink / raw)
  To: u-boot

From: Stephen Warren <swarren@nvidia.com>

Add common code to enable the workaround for ARM erratum 716044. This
will be enabled for Tegra.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
This depends on my previous ARM errata series. I found out we needed
another one after I wrote the first series.

 README                     |    1 +
 arch/arm/cpu/armv7/start.S |    6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/README b/README
index f2b1c88..97ef9f0 100644
--- a/README
+++ b/README
@@ -485,6 +485,7 @@ The following options need to be configured:
 		Thumb2 this flag will result in Thumb2 code generated by
 		GCC.
 
+		CONFIG_ARM_ERRATA_716044
 		CONFIG_ARM_ERRATA_742230
 		CONFIG_ARM_ERRATA_743622
 		CONFIG_ARM_ERRATA_751472
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S
index 30f02d3..6834ffe 100644
--- a/arch/arm/cpu/armv7/start.S
+++ b/arch/arm/cpu/armv7/start.S
@@ -310,6 +310,12 @@ ENTRY(cpu_init_cp15)
 #endif
 	mcr	p15, 0, r0, c1, c0, 0
 
+#ifdef CONFIG_ARM_ERRATA_716044
+	mrc	p15, 0, r0, c1, c0, 0	@ read system control register
+	orr	r0, r0, #1 << 11	@ set bit #11
+	mcr	p15, 0, r0, c1, c0, 0	@ write system control register
+#endif
+
 #ifdef CONFIG_ARM_ERRATA_742230
 	mrc	p15, 0, r0, c15, c0, 1	@ read diagnostic register
 	orr	r0, r0, #1 << 4		@ set bit #4
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-03-22 17:24 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-04 23:29 [U-Boot] [PATCH 1/2] ARM: implement erratum 716044 workaround Stephen Warren
2013-03-04 23:29 ` [U-Boot] [PATCH 2/2] ARM: tegra: enable workaround for ARM erratum 716044 Stephen Warren
2013-03-07 17:18   ` Tom Warren
2013-03-21 16:29 ` [U-Boot] [PATCH 1/2] ARM: implement erratum 716044 workaround Tom Warren
2013-03-21 17:55   ` Albert ARIBAUD
2013-03-21 18:35     ` Tom Warren
2013-03-22  6:34       ` Albert ARIBAUD
2013-03-22 15:24         ` Tom Warren
2013-03-22 15:46           ` Albert ARIBAUD
2013-03-22 15:58       ` Albert ARIBAUD
2013-03-22 17:24         ` Tom Warren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox