]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: mvebu: Allows to get the SoC ID even without PCI enabled
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 19 Feb 2014 22:14:56 +0000 (23:14 +0100)
committerGrant Likely <grant.likely@linaro.org>
Thu, 20 Feb 2014 15:34:59 +0000 (15:34 +0000)
The address translation of a PCI node don't require anymore the PCI
support in the kernel. This translation is mandatory to be able to
read the SoC ID which is stored in the PCI controller of the mvebu
SoCs.

This patch selects the symbol needed to get only this translation for
all the mvebu platforms.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Grant Likely <grant.likely@linaro.org>
arch/arm/mach-mvebu/Kconfig

index 5e269d7263cea17b31cfd9c4294a0a3a8ce9d84f..df9e7d270810aeb7c227812b473f243cea9a88d8 100644 (file)
@@ -16,6 +16,7 @@ config ARCH_MVEBU
        select ARCH_REQUIRE_GPIOLIB
        select MIGHT_HAVE_PCI
        select PCI_QUIRKS if PCI
+       select OF_ADDRESS_PCI
 
 if ARCH_MVEBU