aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx/cmd_errata.c
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-18 11:20:40 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:10 -0800
commit5e5fdd2d00489d4aa129e7a9ad289a38563f4387 (patch)
tree53a60ab2493ca9a09bb7cf88d7c4be840c06e5f0 /arch/powerpc/cpu/mpc85xx/cmd_errata.c
parent37107facbc3d1c57414ae23a807a073b360ce232 (diff)
powerpc: P3041: Remove macro CONFIG_PPC_P3041
Replace CONFIG_PPC_P3041 with ARCH_P3041 in Kconfig and clean up existing macros. 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cmd_errata.c b/arch/powerpc/cpu/mpc85xx/cmd_errata.c
index 1aba6a8ca9..01710b560f 100644
--- a/arch/powerpc/cpu/mpc85xx/cmd_errata.c
+++ b/arch/powerpc/cpu/mpc85xx/cmd_errata.c
@@ -26,7 +26,7 @@ static void check_erratum_a4849(uint32_t svr)
void __iomem *dcsr = (void *)CONFIG_SYS_DCSRBAR + 0xb0000;
unsigned int i;
-#if defined(CONFIG_ARCH_P2041) || defined(CONFIG_PPC_P3041)
+#if defined(CONFIG_ARCH_P2041) || defined(CONFIG_ARCH_P3041)
static const uint8_t offsets[] = {
0x50, 0x54, 0x58, 0x90, 0x94, 0x98
};
@@ -45,7 +45,7 @@ static void check_erratum_a4849(uint32_t svr)
}
}
-#if defined(CONFIG_ARCH_P2041) || defined(CONFIG_PPC_P3041)
+#if defined(CONFIG_ARCH_P2041) || defined(CONFIG_ARCH_P3041)
x108 = 0x12;
#endif