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

Michael Ellerman mpe at ellerman.id.au
Fri May 12 14:37:03 AEST 2023


Randy Dunlap <rdunlap at infradead.org> 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


More information about the Linuxppc-dev mailing list