summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorAlexander Sverdlin <alexander.sverdlin@nokia.com>2018-07-24 14:31:59 +0200
committerPaul Burton <paul.burton@mips.com>2018-07-24 10:36:59 -0700
commitfc5d988878942e9b42a4de5204bdd452f3f1ce47 (patch)
tree3b44210366140671f6ff7f3503589d9ace3ddaff /arch/mips/Kconfig
parent34a4399f196c0dd72d1c0fef87bddb81938e3cfb (diff)
downloadlinux-fc5d988878942e9b42a4de5204bdd452f3f1ce47.tar.bz2
MIPS: Introduce HAS_RAPIDIO Kconfig option
Introduce the same option as PPC and ARM already have because RAPIDIO can function in the absence of PCI. Signed-off-by: Alexander Sverdlin <alexander.sverdlin@nokia.com> Acked-by: Alexandre Bounine <alex.bou9@gmail.com> Signed-off-by: Paul Burton <paul.burton@mips.com> Patchwork: https://patchwork.linux-mips.org/patch/19987/ Cc: linux-mips@linux-mips.org Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: Matt Porter <mporter@kernel.crashing.org>
Diffstat (limited to 'arch/mips/Kconfig')
-rw-r--r--arch/mips/Kconfig7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index a6ce5087b729..b7fa44ddf452 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -3104,10 +3104,13 @@ config ZONE_DMA32
source "drivers/pcmcia/Kconfig"
+config HAS_RAPIDIO
+ bool
+ default n
+
config RAPIDIO
tristate "RapidIO support"
- depends on PCI
- default n
+ depends on HAS_RAPIDIO || PCI
help
If you say Y here, the kernel will include drivers and
infrastructure code to support RapidIO interconnect devices.