Message ID | 20230313083621.154729-1-alexander.stein@ew.tq-group.com |
---|---|
State | Accepted |
Commit | 0762875674b969e35371ec5fe4b594d7a92ab364 |
Headers | show |
Series | [1/1] spi: nxp-flexspi: Add i.MX platform dependency | expand |
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 36a18c215163f..0a8bbafde2c69 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.
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> --- While technically c6b15b2437a10 did nothing wrong, it was not possible to select this driver on i.MX and non-Layerscape kernel configs. drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)