Re: [PATCH] powerpc/embedded6xx: select MPC10X_BRIDGE only if PCI is set

From: Michael Ellerman
Date: Fri May 12 2023 - 00:37:17 EST


Randy Dunlap <rdunlap@xxxxxxxxxxxxx> writes:
> 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.

That would work, but using "imply" would be preferable as it doesn't
have to encode anything about the PCI dependency.

cheers