X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=arch%2Farm%2Fcpu%2Farmv7%2Fstart.S;h=1a6aee94424222696f3976bd461d92ccbd9f647b;hb=6f008a2e16ec3b618363800e414023569007cd89;hp=7eee54ba700211f27265cbbe86b816b24f3acc93;hpb=711b534120c0a5f73cdb9a25eb91f9aa0c5e09ab;p=u-boot diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S index 7eee54ba70..1a6aee9442 100644 --- a/arch/arm/cpu/armv7/start.S +++ b/arch/arm/cpu/armv7/start.S @@ -268,6 +268,19 @@ skip_errata_430973: pop {r1-r5} @ Restore the cpu info - fall through skip_errata_621766: +#endif + +#ifdef CONFIG_ARM_ERRATA_725233 + cmp r2, #0x21 @ Only on < r2p1 (Cortex A8) + bge skip_errata_725233 + + mrc p15, 1, r0, c9, c0, 2 @ Read L2ACR + orr r0, r0, #(0x1 << 27) @ L2 PLD data forwarding disable + push {r1-r5} @ Save the cpu info registers + bl v7_arch_cp15_set_l2aux_ctrl + pop {r1-r5} @ Restore the cpu info - fall through + +skip_errata_725233: #endif mov pc, r5 @ back to my caller