mtd: replace CONFIG_8xx by CONFIG_PPC_8xx
Subsystems (6)
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
@@ -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
Brian Norris
AppliedQuoted 6 lines · Christophe Leroy
Two config options exist to define powerpc MPC8xx:
*CONFIG_PPC_8xx
*CONFIG_8xx
In addition,CONFIG_PPC_8xxalso definesCONFIG_CPM1as communication co-processor
Quoted 8 lines
arch/powerpc/platforms/Kconfig.cputypehas contained the following comment aboutCONFIG_8xxitem for some years:
"# this is temp to handle compat with arch=ppc"It looks like not many places still have that old
CONFIG_8xxused, so it is likely to be a good time to get rid of it completely ?Signed-off-by Christophe Leroy <[email protected]>
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