summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2023-04-09 03:08:10 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-04-20 03:20:50 +0300
commit22fdf79171e8509db54599fd2c05ef0022ee83f5 (patch)
treeff3700c00075a33d873e3cf1aa20d7c2e757f7f1
parent304e364d1f89f590b72af6bec42b5199971b531b (diff)
downloadlinux-22fdf79171e8509db54599fd2c05ef0022ee83f5.tar.xz
powerpc/fsl_uli1575: Allow to disable FSL_ULI1575 support
ULI1575 PCIe south bridge exists only on some Freescale boards. Allow to disable CONFIG_FSL_ULI1575 symbol when it is not explicitly selected and only implied. This is achieved by marking symbol as visible by providing short description. Also adds dependency for this symbol to prevent enabling it on platforms on which driver does not compile. Signed-off-by: Pali Rohár <pali@kernel.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20230409000812.18904-7-pali@kernel.org
-rw-r--r--arch/powerpc/platforms/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index d41dad227de8..608ac0290e3a 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -261,7 +261,9 @@ config CPM2
on it (826x, 827x, 8560).
config FSL_ULI1575
- bool
+ bool "ULI1575 PCIe south bridge support"
+ depends on FSL_SOC_BOOKE || PPC_86xx
+ select FSL_PCI
select GENERIC_ISA_DMA
help
Supports for the ULI1575 PCIe south bridge that exists on some