]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ARM: mvebu: Fix broken SoC ID detection
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Mon, 9 Jun 2014 20:52:45 +0000 (17:52 -0300)
committerJason Cooper <jason@lakedaemon.net>
Fri, 20 Jun 2014 20:32:14 +0000 (20:32 +0000)
Currently the mvebu boards need to detect the SoC revision in order to apply
some quirks needed to workaround issues found on I2C and thermal controllers
present only in very early SoC.

This detection requires PCI address translation to work, so we need to
explicitly select OF_ADDRESS_PCI.

This can be considered a partial revert of the following commit, that
wrongly removed the option selection:

commit 993d7b99942f2dc5d5fbcdce822fd041c1c9f478
Author: Rob Herring <robh@kernel.org>
Date:   Tue Apr 22 14:15:52 2014 -0500

    ARM: mvebu: clean-up unneeded kconfig selects

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Link: https://lkml.kernel.org/r/1402347165-19988-1-git-send-email-ezequiel.garcia@free-electrons.com
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/Kconfig

index 6090b9eb00c828ce44f9ed0c247803eade3a56b6..61ac80a8acac0780ea211097d9775839fec8c208 100644 (file)
@@ -10,6 +10,7 @@ config ARCH_MVEBU
        select ZONE_DMA if ARM_LPAE
        select ARCH_REQUIRE_GPIOLIB
        select PCI_QUIRKS if PCI
+       select OF_ADDRESS_PCI
 
 if ARCH_MVEBU