Commit 197b88fe authored by Miquel Raynal's avatar Miquel Raynal
Browse files

mtd: rawnand: arasan: Add new Arasan NAND controller



Add the Arasan NAND controller driver. This brings only NAND
controller support. The ECC engine being a bit subtle, hardware ECC
support will be added in a second time.

This work is based on contributions from Naga Sureshkumar Relli.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200519074549.23673-8-miquel.raynal@bootlin.com
parent 8201c579
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -453,6 +453,13 @@ config MTD_NAND_CADENCE
	  Enable the driver for NAND flash on platforms using a Cadence NAND
	  controller.

config MTD_NAND_ARASAN
	tristate "Support for Arasan NAND flash controller"
	depends on HAS_IOMEM && HAS_DMA
	help
	  Enables the driver for the Arasan NAND flash controller on
	  Zynq Ultrascale+ MPSoC.

comment "Misc"

config MTD_SM_COMMON
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ obj-$(CONFIG_MTD_NAND_TEGRA) += tegra_nand.o
obj-$(CONFIG_MTD_NAND_STM32_FMC2)	+= stm32_fmc2_nand.o
obj-$(CONFIG_MTD_NAND_MESON)		+= meson_nand.o
obj-$(CONFIG_MTD_NAND_CADENCE)		+= cadence-nand-controller.o
obj-$(CONFIG_MTD_NAND_ARASAN)		+= arasan-nand-controller.o

nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o
nand-objs += nand_onfi.o
+955 −0

File added.

Preview size limit exceeded, changes collapsed.