Skip to content

Commit 6901a9f

Browse files
chleroympe
authored andcommitted
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 eb5aa21 ("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: eb5aa21 ("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
1 parent 60d77ed commit 6901a9f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/powerpc/platforms/82xx/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
menuconfig PPC_82xx
33
bool "82xx-based boards (PQ II)"
44
depends on PPC_BOOK3S_32
5+
select FSL_SOC
56

67
if PPC_82xx
78

89
config EP8248E
910
bool "Embedded Planet EP8248E (a.k.a. CWH-PPC-8248N-VE)"
1011
select CPM2
1112
select PPC_INDIRECT_PCI if PCI
12-
select FSL_SOC
1313
select PHYLIB if NETDEVICES
1414
select MDIO_BITBANG if PHYLIB
1515
help
@@ -22,7 +22,6 @@ config MGCOGE
2222
bool "Keymile MGCOGE"
2323
select CPM2
2424
select PPC_INDIRECT_PCI if PCI
25-
select FSL_SOC
2625
help
2726
This enables support for the Keymile MGCOGE board.
2827

0 commit comments

Comments
 (0)