powerpc/mpc85xx: modify erratum A007186
authorZhao Qiang <B45475@freescale.com>
Thu, 30 Oct 2014 06:07:39 +0000 (14:07 +0800)
committerYork Sun <yorksun@freescale.com>
Fri, 5 Dec 2014 16:06:09 +0000 (08:06 -0800)
commite7f533cd5972d762e0544a38c74fce495a9d9d2f
treeb77b1e2785c265243854ad599b8464e307f18fa2
parent31530e0b8a411398efde40edbec12a7cf262926e
powerpc/mpc85xx: modify erratum A007186

T2080 v1.0 has this errata while v1.1 has fixed
this errata by hardware, add a new function has_errata_a007186
to check the SVR_SOC_VER, SVR_MAJ and SVR_MIN first,
if the sil has errata a007186, then run the errata code,
if not, doesn't run the code.

Signed-off-by: Zhao Qiang <B45475@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
arch/powerpc/cpu/mpc85xx/cmd_errata.c
arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c
arch/powerpc/include/asm/fsl_errata.h