Skip to contentSkip to conversation

mtd: replace CONFIG_8xx by CONFIG_PPC_8xx

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

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

PATCH 6/8 mtd: 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/mtd/maps/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/maps/Kconfig +1 -1
index ba801d2..e715ae9 100644
@@ -242,7 +242,7 @@ config MTD_L440GX
 
 config MTD_CFI_FLAGADM
 	tristate "CFI Flash device mapping on FlagaDM"
-	depends on 8xx && MTD_CFI
+	depends on PPC_8xx && MTD_CFI
 	help
 	  Mapping for the Flaga digital module. If you don't have one, ignore
 	  this setting.
Signature · 1 line
2.1.0
Applied
#1 lore raw
Quoted 6 lines · Christophe Leroy

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 ?

I'm not sure if the consistency aspect is worked out for all symbols (Geert's comment on the cover letter), but this one looks fine.

Applied this patch to l2-mtd.git.

Brian