Commit 05d1c49c authored by Randy Dunlap's avatar Randy Dunlap Committed by Michael Ellerman

powerpc/embedded6xx: select MPC10X_BRIDGE only if PCI is set

When CONFIG_SMP is not set, CONFIG_BROKEN_ON_SMP is set, and
CONFIG_PCI is not set, there can be a kconfig warning:

WARNING: unmet direct dependencies detected for PPC_INDIRECT_PCI
  Depends on [n]: PCI [=n]
  Selected by [y]:
  - MPC10X_BRIDGE [=y]

To fix that, make the selects of MPC10X_BRIDGE be conditional
on PCI and use "imply" instead of "select".
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Suggested-by: Michael Ellerman <mpe@ellerman.id.au> # use "imply"
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230521225103.19197-1-rdunlap@infradead.org
parent 7cc99ed8
...@@ -10,7 +10,7 @@ config LINKSTATION ...@@ -10,7 +10,7 @@ config LINKSTATION
select FSL_SOC select FSL_SOC
select PPC_UDBG_16550 if SERIAL_8250 select PPC_UDBG_16550 if SERIAL_8250
select DEFAULT_UIMAGE select DEFAULT_UIMAGE
select MPC10X_BRIDGE imply MPC10X_BRIDGE if PCI
help help
Select LINKSTATION if configuring for one of PPC- (MPC8241) Select LINKSTATION if configuring for one of PPC- (MPC8241)
based NAS systems from Buffalo Technology. So far only based NAS systems from Buffalo Technology. So far only
...@@ -24,7 +24,7 @@ config STORCENTER ...@@ -24,7 +24,7 @@ config STORCENTER
select MPIC select MPIC
select FSL_SOC select FSL_SOC
select PPC_UDBG_16550 if SERIAL_8250 select PPC_UDBG_16550 if SERIAL_8250
select MPC10X_BRIDGE imply MPC10X_BRIDGE if PCI
help help
Select STORCENTER if configuring for the iomega StorCenter Select STORCENTER if configuring for the iomega StorCenter
with an 8241 CPU in it. with an 8241 CPU in it.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment