spi: spi-orion: enable the driver on ARCH_MVEBU platforms
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 22 Apr 2016 13:17:28 +0000 (15:17 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 22 Apr 2016 15:07:36 +0000 (16:07 +0100)
The SPI controller managed by the spi-orion is used on the new ARM64
Marvell Armada 7K/8K SoCs. In order to allow this driver to be built
for this platform, we allow it to be selected for ARCH_MVEBU=y
configurations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig

index 9d8c84bb15446a75153d64f94a5900ab165193ac..720c5ee515c7760a1289b0958382100e0f46501b 100644 (file)
@@ -432,7 +432,7 @@ config SPI_OMAP_100K
 
 config SPI_ORION
        tristate "Orion SPI master"
-       depends on PLAT_ORION || COMPILE_TEST
+       depends on PLAT_ORION || ARCH_MVEBU || COMPILE_TEST
        help
          This enables using the SPI master controller on the Orion chips.