Skip to content

mtd: rawnand: Get rid of the cmx270 driver

Boris Brezillon linux-arm-kernel linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ARM: pxa: cm-x270: Use gen_nand to expose the NAND devicearch/arm/mach-pxa/cm-x270.c+131 -00 replies
2/3ARM: pxa: Stop selecting CONFIG_MTD_NAND_CM_X270arch/arm/configs/cm_x2xx_defconfig arch/arm/configs/pxa_defconfig+0 -20 replies
3/3mtd: rawnand: Remove the cmx270 NAND controller driverdrivers/mtd/nand/raw/Kconfig drivers/mtd/nand/raw/Makefile drivers/mtd/nand/raw/cmx270_nand.c+0 -2410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] mtd: rawnand: Get rid of the cmx270 driver

Hello,

As part of my attempt to convert all NAND drivers to exec_op() I noticed the cmx270 board didn't really deserve a custom driver since other boards using the same SoC (em-x270 to name one) are using the gen_nand driver. I think the only issue with the CM-X270 is that the chip is connected to D[16:23] (or D[16:31] if it's a 16bit bus). Adjusting the mem resource offset should do the trick.

I hope someone still has a board to test that.

Regards,

Boris

Boris Brezillon (3):
ARM: pxa: cm-x270: Use gen_nand to expose the NAND device
ARM: pxa: Stop selecting CONFIG_MTD_NAND_CM_X270
mtd: rawnand: Remove the cmx270 NAND controller driver

 arch/arm/configs/cm_x2xx_defconfig |   1 -
 arch/arm/configs/pxa_defconfig     |   1 -
 arch/arm/mach-pxa/cm-x270.c        | 131 ++++++++++++++++
 drivers/mtd/nand/raw/Kconfig       |   4 -
 drivers/mtd/nand/raw/Makefile      |   1 -
 drivers/mtd/nand/raw/cmx270_nand.c | 236 -----------------------------
 6 files changed, 131 insertions(+), 243 deletions(-)
 delete mode 100644 drivers/mtd/nand/raw/cmx270_nand.c
Signature · 7 lines
2.25.3


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel