summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorPrabhakar Kushwaha <prabhakar@freescale.com>2014-10-29 22:33:55 +0530
committerYork Sun <yorksun@freescale.com>2014-12-05 08:06:09 -0800
commit31530e0b8a411398efde40edbec12a7cf262926e (patch)
treec45b836c08a2d57e0755f454eac2c4beef2b07a3 /arch/powerpc/cpu
parent9f074e67f5a2131336ff1838f2a82e0c2e15d33c (diff)
downloadu-boot-imx-31530e0b8a411398efde40edbec12a7cf262926e.zip
u-boot-imx-31530e0b8a411398efde40edbec12a7cf262926e.tar.gz
u-boot-imx-31530e0b8a411398efde40edbec12a7cf262926e.tar.bz2
board/t104xrdb: Conditional workaround of errata A-008044
Workaround of Errata A-008044 was implemented without errata number and it is enabled by default. Errata A-008044 is only valid for T1040 Rev 1.0. So put errata number and make it conditional. Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/mpc85xx/cmd_errata.c3
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 b134096..f9085a6 100644
--- a/arch/powerpc/cpu/mpc85xx/cmd_errata.c
+++ b/arch/powerpc/cpu/mpc85xx/cmd_errata.c
@@ -315,7 +315,8 @@ static int do_errata(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#endif
#if defined(CONFIG_SYS_FSL_ERRATUM_A008044) && \
defined(CONFIG_A008044_WORKAROUND)
- puts("Work-around for Erratum A-008044 enabled\n");
+ if (IS_SVR_REV(svr, 1, 0))
+ puts("Work-around for Erratum A-008044 enabled\n");
#endif
return 0;
}