ARM: Errata 743622

Restrict the appliance of ERRATA 743622 to CPU revisions: r2p0-r2p2.

Was 'foc_arm_errata.patch'
This commit is contained in:
Sebastian Sumpf
2013-01-11 17:12:32 +01:00
parent c375d9b1a4
commit 5395a1e1e7

View File

@@ -462,7 +462,13 @@ Cpu::id_init()
}
//---------------------------------------------------------------------------
IMPLEMENTATION [arm && armv6plus]:
IMPLEMENTATION [arm && armv6plus && omap4_pandaboard]:
PRIVATE static inline
void Cpu::init_errata_workarounds() {}
//---------------------------------------------------------------------------
IMPLEMENTATION [arm && armv6plus && !omap4_pandaboard]:
PRIVATE static inline
void
@@ -562,8 +568,8 @@ Cpu::init_errata_workarounds()
if (rev == 0x20 || rev == 0x21 || rev == 0x22)
set_c15_c0_1((1 << 12) | (1 << 22));
// errata: 743622
if ((rev & 0xf0) == 0x20)
// errata: 743622 (r2p0 - r2p2)
if ((rev & 0xf0) == 0x20 && (rev & 0xf) < 0x3)
set_c15_c0_1(1 << 6);
// errata: 751472