Commit 08d8c621 authored by Miquel Raynal's avatar Miquel Raynal
Browse files

mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller



This hardware controller is embedded in XilinX Zynq-7000 SoCs and has
partial support for Hamming ECC correction.

This work is inspired from the original contributions of Punnaiah
Choudary Kalluri and Naga Sureshkumar Relli.

Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Michael Walle <michael@walle.cc> [on zynq-7000]
Link: https://lore.kernel.org/linux-mtd/20210610082040.2075611-19-miquel.raynal@bootlin.com
parent 2f86102b
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -453,6 +453,14 @@ config MTD_NAND_ROCKCHIP
	    NFC v800: RK3308, RV1108
	    NFC v900: PX30, RK3326

config MTD_NAND_PL35X
	tristate "ARM PL35X NAND controller"
	depends on OF || COMPILE_TEST
	depends on PL353_SMC
	help
	  Enables support for PrimeCell SMC PL351 and PL353 NAND
	  controller found on Zynq7000.

comment "Misc"

config MTD_SM_COMMON
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ obj-$(CONFIG_MTD_NAND_CADENCE) += cadence-nand-controller.o
obj-$(CONFIG_MTD_NAND_ARASAN)		+= arasan-nand-controller.o
obj-$(CONFIG_MTD_NAND_INTEL_LGM)	+= intel-nand-controller.o
obj-$(CONFIG_MTD_NAND_ROCKCHIP)		+= rockchip-nand-controller.o
obj-$(CONFIG_MTD_NAND_PL35X)		+= pl35x-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
+1194 −0

File added.

Preview size limit exceeded, changes collapsed.