mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-07 18:40:10 +00:00
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: Hui-Ping Chen <hpchen0nvt@gmail.com> [Miquel Raynal: Fixed compatible and driver name to match latest bindings] Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
committed by
Miquel Raynal
parent
c20e060190
commit
5abb5d414d
@@ -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
|
||||
|
||||
@@ -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
drivers/mtd/nand/raw/nuvoton-ma35d1-nand-controller.c
Normal file
1029
drivers/mtd/nand/raw/nuvoton-ma35d1-nand-controller.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user