From: Alexander Sverdlin Date: Tue, 24 Jul 2018 12:31:59 +0000 (+0200) Subject: MIPS: Introduce HAS_RAPIDIO Kconfig option X-Git-Tag: v4.19~312^2~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc5d988878942e9b42a4de5204bdd452f3f1ce47;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Alexandre Bounine Signed-off-by: Paul Burton Patchwork: https://patchwork.linux-mips.org/patch/19987/ Cc: linux-mips@linux-mips.org Cc: Ralf Baechle Cc: James Hogan Cc: Matt Porter --- diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index a6ce508..b7fa44d 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.