summaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/fsl_law.h
diff options
context:
space:
mode:
authorYork Sun <york.sun@nxp.com>2016-11-24 01:08:36 +0300
committerYork Sun <york.sun@nxp.com>2016-11-24 10:42:16 +0300
commit4f5554c6e5a457bfd4ba9224f5d362bfdd06ca12 (patch)
tree681cd86160a408bbb2c99f0cc0983acdd5786250 /arch/powerpc/include/asm/fsl_law.h
parent51f05ff91408fc992cf7721904e18f8f9a980332 (diff)
downloadu-boot-4f5554c6e5a457bfd4ba9224f5d362bfdd06ca12.tar.xz
powerpc: MPC8641: Remove macro CONFIG_MPC8641
Replace CONFIG_MPC8641 with ARCH_MPC8641 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'arch/powerpc/include/asm/fsl_law.h')
-rw-r--r--arch/powerpc/include/asm/fsl_law.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/fsl_law.h b/arch/powerpc/include/asm/fsl_law.h
index eee78c8856..b348cc1f20 100644
--- a/arch/powerpc/include/asm/fsl_law.h
+++ b/arch/powerpc/include/asm/fsl_law.h
@@ -79,7 +79,7 @@ enum law_trgt_if {
enum law_trgt_if {
LAW_TRGT_IF_PCI = 0x00,
LAW_TRGT_IF_PCI_2 = 0x01,
-#ifndef CONFIG_MPC8641
+#ifndef CONFIG_ARCH_MPC8641
LAW_TRGT_IF_PCIE_1 = 0x02,
#endif
#if defined(CONFIG_ARCH_BSC9131) || defined(CONFIG_ARCH_BSC9132)
@@ -117,7 +117,7 @@ enum law_trgt_if {
#define LAW_TRGT_IF_RIO_1 LAW_TRGT_IF_RIO
#define LAW_TRGT_IF_IFC LAW_TRGT_IF_LBC
-#ifdef CONFIG_MPC8641
+#ifdef CONFIG_ARCH_MPC8641
#define LAW_TRGT_IF_PCIE_1 LAW_TRGT_IF_PCI
#endif