Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/82xx: Select FSL_SOC

It used to be impossible to select CONFIG_CPM2 without selecting
CONFIG_FSL_SOC at the same time because CONFIG_CPM2 was dependent
on CONFIG_8260 and CONFIG_8260 was selecting CONFIG_FSL_SOC.

But after commit eb5aa2137275 ("powerpc/82xx: Remove CONFIG_8260
and CONFIG_8272") CONFIG_CPM2 depends on CONFIG_PPC_82xx instead
but CONFIG_PPC_82xx doesn't directly selects CONFIG_FSL_SOC.

Fix it by forcing CONFIG_PPC_82xx to select CONFIG_FSL_SOC just
like already done by PPC_8xx, PPC_MPC512x, PPC_83xx, PPC_86xx.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: eb5aa2137275 ("powerpc/82xx: Remove CONFIG_8260 and CONFIG_8272")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/7ab513546148ebe33ddd4b0ea92c7bfd3cce3ad7.1694705016.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Michael Ellerman
6901a9f9 60d77ed2

+1 -2
+1 -2
arch/powerpc/platforms/82xx/Kconfig
··· 2 2 menuconfig PPC_82xx 3 3 bool "82xx-based boards (PQ II)" 4 4 depends on PPC_BOOK3S_32 5 + select FSL_SOC 5 6 6 7 if PPC_82xx 7 8 ··· 10 9 bool "Embedded Planet EP8248E (a.k.a. CWH-PPC-8248N-VE)" 11 10 select CPM2 12 11 select PPC_INDIRECT_PCI if PCI 13 - select FSL_SOC 14 12 select PHYLIB if NETDEVICES 15 13 select MDIO_BITBANG if PHYLIB 16 14 help ··· 22 22 bool "Keymile MGCOGE" 23 23 select CPM2 24 24 select PPC_INDIRECT_PCI if PCI 25 - select FSL_SOC 26 25 help 27 26 This enables support for the Keymile MGCOGE board. 28 27