Skip to contentSkip to conversation

mtd: nand: raw: Remove unused octeontx_nand driver REWORDME

PATCH Superseded Tom Rini 1 participant 2 messages Jul 11, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 mtd: nand: raw: Remove unused octeontx_nand driver REWORDME

---
 drivers/mtd/nand/raw/Kconfig             |   16 -
 drivers/mtd/nand/raw/Makefile            |    2 -
 drivers/mtd/nand/raw/octeontx_bch.c      |  422 ----
 drivers/mtd/nand/raw/octeontx_bch.h      |  131 --
 drivers/mtd/nand/raw/octeontx_bch_regs.h |  167 --
 drivers/mtd/nand/raw/octeontx_nand.c     | 2254 ----------------------
 6 files changed, 2992 deletions(-)
 delete mode 100644 drivers/mtd/nand/raw/octeontx_bch.c
 delete mode 100644 drivers/mtd/nand/raw/octeontx_bch.h
 delete mode 100644 drivers/mtd/nand/raw/octeontx_bch_regs.h
 delete mode 100644 drivers/mtd/nand/raw/octeontx_nand.c
drivers/mtd/nand/raw/Kconfig +0 -16
index 4b4330302bed..492b577709d0 100644
@@ -567,22 +567,6 @@ config NAND_ZYNQ_USE_BOOTLOADER1_TIMINGS
 	  This flag prevent U-Boot reconfigure NAND flash controller and reuse
 	  the NAND timing from 1st stage bootloader.
 
-config NAND_OCTEONTX
-	bool "Support for OcteonTX NAND controller"
-	select SYS_NAND_SELF_INIT
-	imply CMD_NAND
-	help
-	  This enables Nand flash controller hardware found on the OcteonTX
-	  processors.
-
-config NAND_OCTEONTX_HW_ECC
-	bool "Support Hardware ECC for OcteonTX NAND controller"
-	depends on NAND_OCTEONTX
-	default y
-	help
-	  This enables Hardware BCH engine found on the OcteonTX processors to
-	  support ECC for NAND flash controller.
-
 config NAND_STM32_FMC2
 	bool "Support for NAND controller on STM32MP SoCs"
 	depends on ARCH_STM32MP
drivers/mtd/nand/raw/Makefile +0 -2
index 5ffd450e8fe7..76546a6287b7 100644
@@ -66,8 +66,6 @@ obj-$(CONFIG_NAND_MESON) += meson_nand.o
 obj-$(CONFIG_NAND_MXC) += mxc_nand.o
 obj-$(CONFIG_NAND_MXS) += mxs_nand.o
 obj-$(CONFIG_NAND_MXS_DT) += mxs_nand_dt.o
-obj-$(CONFIG_NAND_OCTEONTX) += octeontx_nand.o
-obj-$(CONFIG_NAND_OCTEONTX_HW_ECC) += octeontx_bch.o
 obj-$(CONFIG_NAND_PXA3XX) += pxa3xx_nand.o
 obj-$(CONFIG_TEGRA_NAND) += tegra_nand.o
 obj-$(CONFIG_NAND_OMAP_GPMC) += omap_gpmc.o
drivers/mtd/nand/raw/octeontx_bch.c deleted +0 -422

422 lines not on this page · raw message

drivers/mtd/nand/raw/octeontx_bch.h deleted +0 -131

131 lines not on this page · raw message

drivers/mtd/nand/raw/octeontx_bch_regs.h deleted +0 -167

167 lines not on this page · raw message

drivers/mtd/nand/raw/octeontx_nand.c deleted +0 -2254

2,250 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
2.43.0

Part of the diff is not shown here. View the raw message.