aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/platforms/Kconfig11
-rw-r--r--arch/powerpc/sysdev/fsl_soc.c2
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 92fcd6e35b51..8a62ca533b30 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -279,6 +279,17 @@ config CPM2
279 you wish to build a kernel for a machine with a CPM2 coprocessor 279 you wish to build a kernel for a machine with a CPM2 coprocessor
280 on it (826x, 827x, 8560). 280 on it (826x, 827x, 8560).
281 281
282config PPC_CPM_NEW_BINDING
283 bool
284 depends on CPM1 || CPM2
285 help
286 Select this if your board has been converted to use the new
287 device tree bindings for CPM, and no longer needs the
288 ioport callbacks or the platform device glue code.
289
290 The fs_enet and cpm_uart drivers will be built as
291 of_platform devices.
292
282config AXON_RAM 293config AXON_RAM
283 tristate "Axon DDR2 memory device driver" 294 tristate "Axon DDR2 memory device driver"
284 depends on PPC_IBM_CELL_BLADE 295 depends on PPC_IBM_CELL_BLADE
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c
index 30523667df4e..b465b30c9547 100644
--- a/arch/powerpc/sysdev/fsl_soc.c
+++ b/arch/powerpc/sysdev/fsl_soc.c
@@ -665,6 +665,7 @@ err:
665 665
666arch_initcall(fsl_usb_of_init); 666arch_initcall(fsl_usb_of_init);
667 667
668#ifndef CONFIG_PPC_CPM_NEW_BINDING
668#ifdef CONFIG_CPM2 669#ifdef CONFIG_CPM2
669 670
670extern void init_scc_ioports(struct fs_uart_platform_info*); 671extern void init_scc_ioports(struct fs_uart_platform_info*);
@@ -1204,6 +1205,7 @@ err:
1204arch_initcall(cpm_smc_uart_of_init); 1205arch_initcall(cpm_smc_uart_of_init);
1205 1206
1206#endif /* CONFIG_8xx */ 1207#endif /* CONFIG_8xx */
1208#endif /* CONFIG_PPC_CPM_NEW_BINDING */
1207 1209
1208int __init fsl_spi_init(struct spi_board_info *board_infos, 1210int __init fsl_spi_init(struct spi_board_info *board_infos,
1209 unsigned int num_board_infos, 1211 unsigned int num_board_infos,