diff options
author | York Sun <yorksun@freescale.com> | 2012-05-07 07:26:45 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2012-07-06 17:30:33 -0500 |
commit | 1e9ea85f7dffe949ca5e4845e6336810c144e06d (patch) | |
tree | b0dd4cf4a6f7cb05031c67242660fcfac0af8fcb /arch/powerpc/cpu/mpc85xx/cmd_errata.c | |
parent | 7b6e80538b919c814c94ce8887cec7b892f98a71 (diff) | |
download | u-boot-imx-1e9ea85f7dffe949ca5e4845e6336810c144e06d.zip u-boot-imx-1e9ea85f7dffe949ca5e4845e6336810c144e06d.tar.gz u-boot-imx-1e9ea85f7dffe949ca5e4845e6336810c144e06d.tar.bz2 |
powerpc/P4080: Check SVR for CPU22 workaround
Workaround for erratum CPU22 applies to P4080 rev 1 and rev 2 only.
Signed-off-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/cmd_errata.c')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/cmd_errata.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cmd_errata.c b/arch/powerpc/cpu/mpc85xx/cmd_errata.c index 2ed5a98..d7a62e9 100644 --- a/arch/powerpc/cpu/mpc85xx/cmd_errata.c +++ b/arch/powerpc/cpu/mpc85xx/cmd_errata.c @@ -51,7 +51,8 @@ static int do_errata(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) puts("Work-around for Erratum SERDES-A005 enabled\n"); #endif #if defined(CONFIG_SYS_P4080_ERRATUM_CPU22) - puts("Work-around for Erratum CPU22 enabled\n"); + if (SVR_MAJ(svr) < 3) + puts("Work-around for Erratum CPU22 enabled\n"); #endif #if defined(CONFIG_SYS_FSL_ERRATUM_CPU_A003999) puts("Work-around for Erratum CPU-A003999 enabled\n"); |