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 4fe9467192
commit 0b7d91f663

View File

@@ -459,7 +459,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
@@ -559,8 +565,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