]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
ARM: 6520/1: Kconfig: add new symbol MIGHT_HAVE_PCI
authorHans Ulli Kroll <ulli.kroll@googlemail.com>
Thu, 2 Dec 2010 11:32:15 +0000 (12:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 5 Dec 2010 08:39:30 +0000 (08:39 +0000)
Today more boards with arm cpu have selectable pci bus.
This patch makes this more scalable and remove line continuations in
Kconfig

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/mach-cns3xxx/Kconfig
arch/arm/mach-integrator/Kconfig
arch/arm/mach-ks8695/Kconfig
arch/arm/mach-pxa/Kconfig
arch/arm/mach-versatile/Kconfig

index 0e51342b3c024ebb64040ed3c547a1b1125a61f8..7e94f8609c87970bae37f5421c471cace14d528a 100644 (file)
@@ -34,6 +34,9 @@ config ARM
 config HAVE_PWM
        bool
 
+config MIGHT_HAVE_PCI
+       bool
+
 config SYS_SUPPORTS_APM_EMULATION
        bool
 
@@ -298,6 +301,7 @@ config ARCH_CNS3XXX
        select CPU_V6
        select GENERIC_CLOCKEVENTS
        select ARM_GIC
+       select MIGHT_HAVE_PCI
        select PCI_DOMAINS if PCI
        help
          Support for Cavium Networks CNS3XXX platform.
@@ -433,6 +437,7 @@ config ARCH_IXP4XX
        select CPU_XSCALE
        select GENERIC_GPIO
        select GENERIC_CLOCKEVENTS
+       select MIGHT_HAVE_PCI
        select DMABOUNCE if PCI
        help
          Support for Intel's IXP4XX (XScale) family of processors.
@@ -1164,7 +1169,7 @@ config ISA_DMA_API
        bool
 
 config PCI
-       bool "PCI support" if ARCH_INTEGRATOR_AP || ARCH_VERSATILE_PB || ARCH_IXP4XX || ARCH_KS8695 || MACH_ARMCORE || ARCH_CNS3XXX
+       bool "PCI support" if MIGHT_HAVE_PCI
        help
          Find out whether you have a PCI motherboard. PCI is the name of a
          bus system, i.e. the way the CPU talks to the other stuff inside
index 9ebfcc46feb1a0f115970cfd53805cc117de57f5..29b13f249aa9b473d11168f42447da800d2dcdb7 100644 (file)
@@ -3,6 +3,7 @@ menu "CNS3XXX platform type"
 
 config MACH_CNS3420VB
        bool "Support for CNS3420 Validation Board"
+       select MIGHT_HAVE_PCI
        help
          Include support for the Cavium Networks CNS3420 MPCore Platform
          Baseboard.
index 27db275b367cf167e3dcf018f9d76eb30098b65b..769b0f10c83496a48565ba50b236f9a10aaf9df9 100644 (file)
@@ -4,6 +4,7 @@ menu "Integrator Options"
 
 config ARCH_INTEGRATOR_AP
        bool "Support Integrator/AP and Integrator/PP2 platforms"
+       select MIGHT_HAVE_PCI
        help
          Include support for the ARM(R) Integrator/AP and
          Integrator/PP2 platforms.
index fe0c82e30b2dbdc9fb3ff81a1c64c277b7e8843f..f5c39a8c2b00f39b683819e2b0c93ab89705b243 100644 (file)
@@ -4,6 +4,7 @@ menu "Kendin/Micrel KS8695 Implementations"
 
 config MACH_KS8695
        bool "KS8695 development board"
+       select MIGHT_HAVE_PCI
        help
          Say 'Y' here if you want your kernel to run on the original
          Kendin-Micrel KS8695 development board.
index dd235ecc9d6c5946d6610bb7adef42cb57476210..716a2e159c2c35cc6e4a4ece6533d61792bf36a7 100644 (file)
@@ -94,6 +94,7 @@ config MACH_ARMCORE
        select PXA27x
        select IWMMXT
        select PXA25x
+       select MIGHT_HAVE_PCI
 
 config MACH_EM_X270
        bool "CompuLab EM-x270 platform"
index c781f30c8368a0d9dc4f33f271f91121f08c29fc..3f7b5e9d83c51633556dca30b9fada357c49e0ba 100644 (file)
@@ -4,6 +4,7 @@ menu "Versatile platform type"
 config ARCH_VERSATILE_PB
        bool "Support Versatile/PB platform"
        select CPU_ARM926T
+       select MIGHT_HAVE_PCI
        default y
        help
          Include support for the ARM(R) Versatile/PB platform.