Commit d2d10ede authored by Keguang Zhang's avatar Keguang Zhang Committed by Miquel Raynal
Browse files

mtd: rawnand: Add Loongson-1 NAND Controller Driver



Add NAND controller driver for Loongson-1 SoCs.

Signed-off-by: default avatarKeguang Zhang <keguang.zhang@gmail.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent eff4e04c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -16222,6 +16222,7 @@ F: Documentation/devicetree/bindings/*/loongson,ls1*.yaml
F:	arch/mips/include/asm/mach-loongson32/
F:	arch/mips/loongson32/
F:	drivers/*/*loongson1*
F:	drivers/mtd/nand/raw/loongson1-nand-controller.c
F:	drivers/net/ethernet/stmicro/stmmac/dwmac-loongson1.c
MIPS/LOONGSON2EF ARCHITECTURE
+7 −0
Original line number Diff line number Diff line
@@ -462,6 +462,13 @@ config MTD_NAND_NUVOTON_MA35
	  Enables support for the NAND controller found on
	  the Nuvoton MA35 series SoCs.

config MTD_NAND_LOONGSON1
	tristate "Loongson1 NAND controller"
	depends on LOONGSON1_APB_DMA || COMPILE_TEST
	select REGMAP_MMIO
	help
	  Enables support for NAND controller on Loongson1 SoCs.

comment "Misc"

config MTD_SM_COMMON
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@ 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
obj-$(CONFIG_MTD_NAND_LOONGSON1)	+= loongson1-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
+838 −0

File added.

Preview size limit exceeded, changes collapsed.