summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx/cmd_errata.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-12-28 08:43:43 -0800
committerTom Rini <trini@konsulko.com>2017-01-04 19:40:46 -0500
commit63659ff317c72ff6d74a3147ad758c5904b034bc (patch)
treef5fa8fa262234608ae92150e32d5058d6d569dac /arch/powerpc/cpu/mpc85xx/cmd_errata.c
parentc01e4a1a6f4ff8cbfa1fcdf984903e746cca3f66 (diff)
downloadu-boot-imx-63659ff317c72ff6d74a3147ad758c5904b034bc.zip
u-boot-imx-63659ff317c72ff6d74a3147ad758c5904b034bc.tar.gz
u-boot-imx-63659ff317c72ff6d74a3147ad758c5904b034bc.tar.bz2
powerpc: mpc85xx: Move CONFIG_SYS_FSL_ERRATUM_* to Kconfig
Use Kconfig to select errata workaround. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/cmd_errata.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/cmd_errata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cmd_errata.c b/arch/powerpc/cpu/mpc85xx/cmd_errata.c
index 402a1ff..54b5b33 100644
--- a/arch/powerpc/cpu/mpc85xx/cmd_errata.c
+++ b/arch/powerpc/cpu/mpc85xx/cmd_errata.c
@@ -136,7 +136,7 @@ static int do_errata(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#endif
__maybe_unused u32 svr = get_svr();
-#if defined(CONFIG_FSL_SATA_V2) && defined(CONFIG_FSL_SATA_ERRATUM_A001)
+#if defined(CONFIG_FSL_SATA_V2) && defined(CONFIG_SYS_FSL_ERRATUM_SATA_A001)
if (IS_SVR_REV(svr, 1, 0)) {
switch (SVR_SOC_VER(svr)) {
case SVR_P1013: