powerpc/mpc85xx: Make NMG_CPU_A011 workaround conditional
authorYork Sun <yorksun@freescale.com>
Wed, 8 Aug 2012 18:04:53 +0000 (18:04 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 23 Aug 2012 15:24:13 +0000 (10:24 -0500)
commit57125f222e410c35ac745a912d5f4b52b654932a
tree0779b1ac1098638571d960ed7eb90f3d1f323d93
parent7b8f6685fb840fbaff0baf7d2297b4a2c7ddbf65
powerpc/mpc85xx: Make NMG_CPU_A011 workaround conditional

This erratum applies to the following SoCs:
P4080 rev 1.0, 2.0, fixed in rev 3.0
P2041 rev 1.0, 1.1, fixed in rev 2.0
P3041 rev 1.0, 1.1, fixed in rev 2.0.

Workaround for erratum NMG_CPU_A011 is enabled by default. This workaround
may degrade performance. P4080 erratum CPU22 shares the same workaround.
So it is always enabled for P4080. For other SoCs, it can be disabled by
hwconfig with syntax:

fsl_cpu_a011:disable

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/cpu/mpc85xx/cpu_init.c
arch/powerpc/cpu/mpc85xx/release.S
arch/powerpc/include/asm/config_mpc85xx.h