diff options
author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2019-01-07 09:29:47 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-01-07 16:56:24 +0000 |
commit | 84d043185dbe0d1b4f6db575bd91c834d37e2f78 (patch) | |
tree | 25189f354efccc72de09548f04004acc7636f9bd /drivers/mtd/spi-nor/Kconfig | |
parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) | |
download | lwn-84d043185dbe0d1b4f6db575bd91c834d37e2f78.tar.gz lwn-84d043185dbe0d1b4f6db575bd91c834d37e2f78.zip |
spi: Add a driver for the Freescale/NXP QuadSPI controller
This driver is derived from the SPI NOR driver at
mtd/spi-nor/fsl-quadspi.c. It uses the new SPI memory interface
of the SPI framework to issue flash memory operations to up to
four connected flash chips (2 buses with 2 CS each).
The controller does not support generic SPI messages.
This patch also disables the build of the "old" driver and reuses
its Kconfig option CONFIG_SPI_FSL_QUADSPI to replace it.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Acked-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Tested-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>
Tested-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/mtd/spi-nor/Kconfig')
-rw-r--r-- | drivers/mtd/spi-nor/Kconfig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index 44fe8018733c..b433e5f91069 100644 --- a/drivers/mtd/spi-nor/Kconfig +++ b/drivers/mtd/spi-nor/Kconfig @@ -50,15 +50,6 @@ config SPI_CADENCE_QUADSPI device with a Cadence QSPI controller and want to access the Flash as an MTD device. -config SPI_FSL_QUADSPI - tristate "Freescale Quad SPI controller" - depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST - depends on HAS_IOMEM - help - This enables support for the Quad SPI controller in master mode. - This controller does not support generic SPI. It only supports - SPI NOR. - config SPI_HISI_SFC tristate "Hisilicon SPI-NOR Flash Controller(SFC)" depends on ARCH_HISI || COMPILE_TEST |