Skip to content

Commit 197b88f

Browse files
committed
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: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://lore.kernel.org/linux-mtd/20200519074549.23673-8-miquel.raynal@bootlin.com
1 parent 8201c57 commit 197b88f

File tree

3 files changed

+963
-0
lines changed

3 files changed

+963
-0
lines changed

drivers/mtd/nand/raw/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,13 @@ config MTD_NAND_CADENCE
453453
Enable the driver for NAND flash on platforms using a Cadence NAND
454454
controller.
455455

456+
config MTD_NAND_ARASAN
457+
tristate "Support for Arasan NAND flash controller"
458+
depends on HAS_IOMEM && HAS_DMA
459+
help
460+
Enables the driver for the Arasan NAND flash controller on
461+
Zynq Ultrascale+ MPSoC.
462+
456463
comment "Misc"
457464

458465
config MTD_SM_COMMON

drivers/mtd/nand/raw/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ obj-$(CONFIG_MTD_NAND_TEGRA) += tegra_nand.o
5757
obj-$(CONFIG_MTD_NAND_STM32_FMC2) += stm32_fmc2_nand.o
5858
obj-$(CONFIG_MTD_NAND_MESON) += meson_nand.o
5959
obj-$(CONFIG_MTD_NAND_CADENCE) += cadence-nand-controller.o
60+
obj-$(CONFIG_MTD_NAND_ARASAN) += arasan-nand-controller.o
6061

6162
nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o
6263
nand-objs += nand_onfi.o

0 commit comments

Comments
 (0)