Skip to content

Commit 7a1e3a4

Browse files
AaronDotmiquelraynal
authored andcommitted
mtd: rawnand: loongson1: Rename the prefix from ls1x to loongson
I am going to introduce the NAND controllers of the Loongson-2K series CPUs, which are similar to Loongson-1. As preparation, rename all prefixes from Loongson1-specific to Loongson-generic. No functional change intended. Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
1 parent b2d2c2b commit 7a1e3a4

4 files changed

Lines changed: 177 additions & 170 deletions

File tree

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16992,7 +16992,7 @@ F: Documentation/devicetree/bindings/*/loongson,ls1*.yaml
1699216992
F: arch/mips/include/asm/mach-loongson32/
1699316993
F: arch/mips/loongson32/
1699416994
F: drivers/*/*loongson1*
16995-
F: drivers/mtd/nand/raw/loongson1-nand-controller.c
16995+
F: drivers/mtd/nand/raw/loongson-nand-controller.c
1699616996
F: drivers/net/ethernet/stmicro/stmmac/dwmac-loongson1.c
1699716997
F: sound/soc/loongson/loongson1_ac97.c
1699816998

drivers/mtd/nand/raw/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,12 +436,12 @@ config MTD_NAND_NUVOTON_MA35
436436
Enables support for the NAND controller found on
437437
the Nuvoton MA35 series SoCs.
438438

439-
config MTD_NAND_LOONGSON1
440-
tristate "Loongson1 NAND controller"
439+
config MTD_NAND_LOONGSON
440+
tristate "Loongson NAND controller"
441441
depends on LOONGSON1_APB_DMA || COMPILE_TEST
442442
select REGMAP_MMIO
443443
help
444-
Enables support for NAND controller on Loongson1 SoCs.
444+
Enables support for NAND controller on Loongson family chips.
445445

446446
comment "Misc"
447447

drivers/mtd/nand/raw/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ obj-$(CONFIG_MTD_NAND_ROCKCHIP) += rockchip-nand-controller.o
5858
obj-$(CONFIG_MTD_NAND_PL35X) += pl35x-nand-controller.o
5959
obj-$(CONFIG_MTD_NAND_RENESAS) += renesas-nand-controller.o
6060
obj-$(CONFIG_MTD_NAND_NUVOTON_MA35) += nuvoton-ma35d1-nand-controller.o
61-
obj-$(CONFIG_MTD_NAND_LOONGSON1) += loongson1-nand-controller.o
61+
obj-$(CONFIG_MTD_NAND_LOONGSON) += loongson-nand-controller.o
6262

6363
nand-objs := nand_base.o nand_legacy.o nand_bbt.o nand_timings.o nand_ids.o
6464
nand-objs += nand_onfi.o

0 commit comments

Comments
 (0)