Skip to content

mtd: last pile of MTD partition cleanup patches

Dmitry Eremin-Solenikov linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17mtd: prepare to convert of_mtd_parse_partitions to partition parserdrivers/mtd/mtdcore.c drivers/mtd/mtdpart.c drivers/mtd/ofpart.c +2 more+59 -57 replies
2/17mtd: physmap_of: use ofpart through generic parsingdrivers/mtd/maps/physmap_of.c+3 -70 replies
3/17mtd: m25p80: use ofpart through generic parsingdrivers/mtd/devices/m25p80.c+1 -70 replies
4/17mtd: fsl_elbc_nand: use ofpart through generic parsingdrivers/mtd/nand/fsl_elbc_nand.c+2 -70 replies
5/17mtd: fsl_upm: use ofpart through generic parsingdrivers/mtd/nand/fsl_upm.c+1 -70 replies
6/17mtd: mpc5121_nfc: use ofpart through generic parsingdrivers/mtd/nand/mpc5121_nfc.c+1 -40 replies
7/17mtd: ndfc: use ofpart through generic parsingdrivers/mtd/nand/ndfc.c+1 -70 replies
8/17mtd: socrates_nand: use ofpart through generic parsingdrivers/mtd/nand/socrates_nand.c+1 -100 replies
9/17mtd: drop of_mtd_parse_partitions()drivers/mtd/ofpart.c include/linux/mtd/partitions.h+4 -280 replies
10/17physmap_of: move parse_obsolete_partitions to become separate parserdrivers/mtd/maps/physmap_of.c drivers/mtd/ofpart.c+72 -530 replies
11/17mtd: m25p80.c: use mtd_device_parse_registerdrivers/mtd/devices/m25p80.c+3 -250 replies
11/17mtd: physmap_of.c: use mtd_device_parse_registerdrivers/mtd/maps/physmap_of.c+3 -150 replies
12/17mtd: m25p80.c: use mtd_device_parse_registerdrivers/mtd/devices/m25p80.c+3 -250 replies
12/17mtd: physmap_of.c: use mtd_device_parse_registerdrivers/mtd/maps/physmap_of.c+3 -150 replies
13/17mtd: fsl_elbc_nand.c: use mtd_device_parse_registerdrivers/mtd/nand/fsl_elbc_nand.c+1 -60 replies
14/17mtd: fsl_upm.c: use mtd_device_parse_registerdrivers/mtd/nand/fsl_upm.c+1 -30 replies
15/17mtd: mpc5121_nfc.c: use mtd_device_parse_registerdrivers/mtd/nand/mpc5121_nfc.c+1 -100 replies
16/17mtd: ndfc.c: use mtd_device_parse_registerdrivers/mtd/nand/ndfc.c+1 -60 replies
17/17mtd: socrates_nand.c: use mtd_device_parse_registerdrivers/mtd/nand/socrates_nand.c+1 -100 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/17] mtd: last pile of MTD partition cleanup patches

Here goes last serie of my current work on cleaning up the MTD partition handling. Now my goal is to clean up OF partition handling.

The following changes since commit 3e1643b282542cf524d30cfab4cfe38f6b2afa99:

mtd: edb7312: correctly pass MTD name to parsers (2011-06-09 15:30:44 +0300)

are available in the git repository at:
git://git.infradead.org/users/dbaryshkov/mtd-cleanup.git mtd-big-cleanup

Dmitry Eremin-Solenikov (17):
mtd: prepare to convert of_mtd_parse_partitions to partition parser
mtd: physmap_of: use ofpart through generic parsing
mtd: m25p80: use ofpart through generic parsing
mtd: fsl_elbc_nand: use ofpart through generic parsing
mtd: fsl_upm: use ofpart through generic parsing
mtd: mpc5121_nfc: use ofpart through generic parsing
mtd: ndfc: use ofpart through generic parsing
mtd: socrates_nand: use ofpart through generic parsing
mtd: drop of_mtd_parse_partitions()
physmap_of: move parse_obsolete_partitions to become separate parser
mtd: physmap_of.c: use mtd_device_parse_register
mtd: m25p80.c: use mtd_device_parse_register
mtd: fsl_elbc_nand.c: use mtd_device_parse_register
mtd: fsl_upm.c: use mtd_device_parse_register
mtd: mpc5121_nfc.c: use mtd_device_parse_register
mtd: ndfc.c: use mtd_device_parse_register
mtd: socrates_nand.c: use mtd_device_parse_register

 drivers/mtd/devices/m25p80.c     |   36 ++------------
 drivers/mtd/maps/physmap_of.c    |   79 ++----------------------------
 drivers/mtd/mtdcore.c            |   19 +++++++
 drivers/mtd/mtdpart.c            |    8 ++-
 drivers/mtd/nand/fsl_elbc_nand.c |   16 +-----
 drivers/mtd/nand/fsl_upm.c       |   12 +----
 drivers/mtd/nand/mpc5121_nfc.c   |   16 +-----
 drivers/mtd/nand/ndfc.c          |   15 +-----
 drivers/mtd/nand/socrates_nand.c |   22 +--------
 drivers/mtd/ofpart.c             |   98 ++++++++++++++++++++++++++++++++++++--
 include/linux/mtd/mtd.h          |    5 ++
 include/linux/mtd/partitions.h   |   16 ------
 12 files changed, 144 insertions(+), 198 deletions(-)