Skip to contentSkip to conversation

net: freescale: replace CONFIG_8xx by CONFIG_PPC_8xx

PATCH Applied Christophe Leroy 2 participants 2 messages Mar 12, 2015

Subsystems (7)
lore
Share & tools
lore
#0 lore raw

PATCH 4/8 net: freescale: replace CONFIG_8xx by CONFIG_PPC_8xx

Two config options exist to define powerpc MPC8xx:
* CONFIG_PPC_8xx
* CONFIG_8xx
In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as communication co-processor

arch/powerpc/platforms/Kconfig.cputype has contained the following comment about CONFIG_8xx item for some years:
"# this is temp to handle compat with arch=ppc"

It looks like not many places still have that old CONFIG_8xx used, so it is likely to be a good time to get rid of it completely ?

---
 drivers/net/ethernet/freescale/fs_enet/mac-fec.c | 2 +-
 drivers/net/ethernet/freescale/fs_enet/mac-scc.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/freescale/fs_enet/mac-fec.c +1 -1
index b34214e..0e02bb4 100644
@@ -38,7 +38,7 @@
 #include <asm/irq.h>
 #include <asm/uaccess.h>
 
-#ifdef CONFIG_8xx
+#ifdef CONFIG_PPC_8xx
 #include <asm/8xx_immap.h>
 #include <asm/pgtable.h>
 #include <asm/cpm1.h>
drivers/net/ethernet/freescale/fs_enet/mac-scc.c +1 -1
index 7a184e8..eec8963 100644
@@ -37,7 +37,7 @@
 #include <asm/irq.h>
 #include <asm/uaccess.h>
 
-#ifdef CONFIG_8xx
+#ifdef CONFIG_PPC_8xx
 #include <asm/8xx_immap.h>
 #include <asm/pgtable.h>
 #include <asm/cpm1.h>
Signature · 1 line
2.1.0
Acked-by David S. Miller on v1 4/8
#1 lore raw

From: Christophe Leroy <[email protected]>
Date: Thu, 12 Mar 2015 16:23:54 +0100 (CET)

Quoted 6 lines

Two config options exist to define powerpc MPC8xx:
* CONFIG_PPC_8xx
* CONFIG_8xx
In addition, CONFIG_PPC_8xx also defines CONFIG_CPM1 as communication co-processor

Quoted 8 lines

arch/powerpc/platforms/Kconfig.cputype has contained the following comment about CONFIG_8xx item for some years:
"# this is temp to handle compat with arch=ppc"

It looks like not many places still have that old CONFIG_8xx used, so it is likely to be a good time to get rid of it completely ?