Commit 5abb5d41 authored by Hui-Ping Chen's avatar Hui-Ping Chen Committed by Miquel Raynal
Browse files

mtd: rawnand: nuvoton: add new driver for the Nuvoton MA35 SoC



Nuvoton MA35 SoCs NAND Flash Interface Controller
supports 2kiB, 4kiB and 8kiB page size, and up to
8-bit, 12-bit, and 24-bit hardware ECC calculation
circuit to protect data.

Signed-off-by: default avatarHui-Ping Chen <hpchen0nvt@gmail.com>
[Miquel Raynal: Fixed compatible and driver name to match latest bindings]
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent c20e0601
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -454,6 +454,14 @@ config MTD_NAND_TS72XX
	help
	  Enables support for NAND controller on ts72xx SBCs.

config MTD_NAND_NUVOTON_MA35
	tristate "Nuvoton MA35 SoC NAND controller"
	depends on ARCH_MA35 || COMPILE_TEST
	depends on OF
	help
	  Enables support for the NAND controller found on
	  the Nuvoton MA35 series SoCs.

comment "Misc"

config MTD_SM_COMMON
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ 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
obj-$(CONFIG_MTD_NAND_RENESAS)		+= renesas-nand-controller.o
obj-$(CONFIG_MTD_NAND_NUVOTON_MA35)	+= nuvoton-ma35d1-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
+1029 −0

File added.

Preview size limit exceeded, changes collapsed.