summaryrefslogtreecommitdiffstats
path: root/drivers/spi/Kconfig
diff options
context:
space:
mode:
authorAlexander Stein <alexander.stein@ew.tq-group.com>2023-03-13 09:36:21 +0100
committerMark Brown <broonie@kernel.org>2023-03-13 14:09:16 +0000
commit0762875674b969e35371ec5fe4b594d7a92ab364 (patch)
tree422d09e8b74951823da85b87f2665cce16146747 /drivers/spi/Kconfig
parentedfa970370a759c2c6a38b2884887937b1aea552 (diff)
downloadlinux-0762875674b969e35371ec5fe4b594d7a92ab364.tar.gz
linux-0762875674b969e35371ec5fe4b594d7a92ab364.tar.bz2
linux-0762875674b969e35371ec5fe4b594d7a92ab364.zip
spi: nxp-flexspi: Add i.MX platform dependency
This driver also supports various i.MX8 platforms. Add ARCH_MXC for selecting this driver without Layerscape support. Fixes: c6b15b2437a10 ("spi: nxp-flexspi: Fix ARCH_LAYERSCAPE dependency") Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> Link: https://lore.kernel.org/r/20230313083621.154729-1-alexander.stein@ew.tq-group.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r--drivers/spi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 80f3cade6006..cbf60b6a931c 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -406,7 +406,7 @@ config SPI_HISI_SFC_V3XX
config SPI_NXP_FLEXSPI
tristate "NXP Flex SPI controller"
- depends on ARCH_LAYERSCAPE || COMPILE_TEST
+ depends on ARCH_LAYERSCAPE || ARCH_MXC || COMPILE_TEST
depends on HAS_IOMEM
help
This enables support for the Flex SPI controller in master mode.