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:24:40 -0800
committerYork Sun <york.sun@nxp.com>2016-11-23 23:42:11 -0800
commite71372cb6371033a762b3329d063c3735a783a76 (patch)
tree7a6a1950a0cb3fe51de50fcc5ca887d87e853ad3 /arch/powerpc/cpu/mpc85xx/cmd_errata.c
parent850af2c7a9eb0bb11135eaba3c3f85aba64581f0 (diff)
powerpc: P4080: Remove macro CONFIG_PPC_P4080
Replace CONFIG_PPC_P4080 with ARCH_P4080 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 01710b560f..d311934677 100644
--- a/arch/powerpc/cpu/mpc85xx/cmd_errata.c
+++ b/arch/powerpc/cpu/mpc85xx/cmd_errata.c
@@ -31,7 +31,7 @@ static void check_erratum_a4849(uint32_t svr)
0x50, 0x54, 0x58, 0x90, 0x94, 0x98
};
#endif
-#ifdef CONFIG_PPC_P4080
+#ifdef CONFIG_ARCH_P4080
static const uint8_t offsets[] = {
0x60, 0x64, 0x68, 0x6c, 0xa0, 0xa4, 0xa8, 0xac
};
@@ -49,7 +49,7 @@ static void check_erratum_a4849(uint32_t svr)
x108 = 0x12;
#endif
-#ifdef CONFIG_PPC_P4080
+#ifdef CONFIG_ARCH_P4080
/*
* For P4080, the erratum document says that the value at offset 0x108
* should be 0x12 on rev2, or 0x1c on rev3.