diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2022-04-24 06:25:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-04-27 19:22:53 +0300 |
commit | 764f1b7481645b2b4488eda26c4da7f331697e6b (patch) | |
tree | ef66bb268420c2b2c154394279d998b2c8d9a9b5 /drivers/spi/Kconfig | |
parent | 26ac2436f38f3592cf2962ece2d9044fc6477d22 (diff) | |
download | linux-764f1b7481645b2b4488eda26c4da7f331697e6b.tar.xz |
spi: add driver for MTK SPI NAND Flash Interface
This driver implements support for the SPI-NAND mode of MTK NAND Flash
Interface as a SPI-MEM controller with pipelined ECC capability.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/20220424032527.673605-3-gch981213@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index cca92a81fff7..9f09aff3cca1 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -590,6 +590,16 @@ config SPI_MTK_NOR SPI interface as well as several SPI NOR specific instructions via SPI MEM interface. +config SPI_MTK_SNFI + tristate "MediaTek SPI NAND Flash Interface" + depends on ARCH_MEDIATEK || COMPILE_TEST + depends on MTD_NAND_ECC_MEDIATEK + help + This enables support for SPI-NAND mode on the MediaTek NAND + Flash Interface found on MediaTek ARM SoCs. This controller + is implemented as a SPI-MEM controller with pipelined ECC + capcability. + config SPI_NPCM_FIU tristate "Nuvoton NPCM FLASH Interface Unit" depends on ARCH_NPCM || COMPILE_TEST |