Commit c6b15b24 authored by Mark Brown's avatar Mark Brown

spi: nxp-flexspi: Fix ARCH_LAYERSCAPE dependency

Currently the NXP Flex SPI driver has a dependency on ARCH_LAYERSCAPE ||
HAS_IOMEM which means that the dependency is almost always true and the
driver available. Really these should be two separate dependencies, with
an || COMPILE_TEST dependency for the architecture to ensure build coverage
is maintained.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20230221-spi-arch-deps-v1-3-83d1566474cf@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 330a200d
...@@ -406,7 +406,8 @@ config SPI_HISI_SFC_V3XX ...@@ -406,7 +406,8 @@ config SPI_HISI_SFC_V3XX
config SPI_NXP_FLEXSPI config SPI_NXP_FLEXSPI
tristate "NXP Flex SPI controller" tristate "NXP Flex SPI controller"
depends on ARCH_LAYERSCAPE || HAS_IOMEM depends on ARCH_LAYERSCAPE || COMPILE_TEST
depends on HAS_IOMEM
help help
This enables support for the Flex SPI controller in master mode. This enables support for the Flex SPI controller in master mode.
Up to four slave devices can be connected on two buses with two Up to four slave devices can be connected on two buses with two
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment