diff mbox

spi: spi-orion: enable the driver on ARCH_MVEBU platforms

Message ID 1461331048-27451-1-git-send-email-thomas.petazzoni@free-electrons.com (mailing list archive)
State Accepted
Commit 710a1d54452afbc9435bdb3f48f81f6801db14d6
Headers show

Commit Message

Thomas Petazzoni April 22, 2016, 1:17 p.m. UTC
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>
---
 drivers/spi/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 9d8c84b..720c5ee 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -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.