Skip to content

last part of big cleanup of partition handling

Dmitry Eremin-Solenikov linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest18 patches 8 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18mtd: abstract last MTD partition parser argumentdrivers/mtd/cmdlinepart.c drivers/mtd/mtdcore.c drivers/mtd/mtdpart.c +3 more+25 -136 replies
2/18mtd: prepare to convert of_mtd_parse_partitions to partition parserdrivers/mtd/mtdpart.c drivers/mtd/ofpart.c include/linux/mtd/partitions.h+34 -51 reply
3/18mtd: physmap_of: use ofpart through generic parsingdrivers/mtd/maps/physmap_of.c+5 -80 replies
4/18mtd: m25p80: use ofpart through generic parsingdrivers/mtd/devices/m25p80.c+3 -80 replies
5/18mtd: fsl_elbc_nand: use ofpart through generic parsingdrivers/mtd/nand/fsl_elbc_nand.c+4 -80 replies
6/18mtd: fsl_upm: use ofpart through generic parsingdrivers/mtd/nand/fsl_upm.c+3 -80 replies
7/18mtd: mpc5121_nfc: use ofpart through generic parsingdrivers/mtd/nand/mpc5121_nfc.c+3 -50 replies
8/18mtd: ndfc: use ofpart through generic parsingdrivers/mtd/nand/ndfc.c+3 -80 replies
9/18mtd: socrates_nand: use ofpart through generic parsingdrivers/mtd/nand/socrates_nand.c+3 -110 replies
10/18mtd: drop of_mtd_parse_partitions()drivers/mtd/ofpart.c include/linux/mtd/partitions.h+9 -270 replies
11/18mtd: physmap_of: move parse_obsolete_partitions to become separate parserdrivers/mtd/maps/physmap_of.c drivers/mtd/ofpart.c+75 -530 replies
12/18mtd: physmap_of.c: use mtd_device_parse_registerdrivers/mtd/maps/physmap_of.c+3 -150 replies
13/18mtd: m25p80.c: use mtd_device_parse_registerdrivers/mtd/devices/m25p80.c+3 -250 replies
14/18mtd: fsl_elbc_nand.c: use mtd_device_parse_registerdrivers/mtd/nand/fsl_elbc_nand.c+1 -60 replies
15/18mtd: fsl_upm.c: use mtd_device_parse_registerdrivers/mtd/nand/fsl_upm.c+1 -30 replies
16/18mtd: mpc5121_nfc.c: use mtd_device_parse_registerdrivers/mtd/nand/mpc5121_nfc.c+1 -100 replies
17/18mtd: ndfc.c: use mtd_device_parse_registerdrivers/mtd/nand/ndfc.c+1 -60 replies
18/18mtd: 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 v2 yet.

Read the v2 thread

Cover letter [PATCH V2 00/18] last part of big cleanup of partition handling

Hello,

Changes in V2 of this serie:
* Introduce special struct mtd_parts_parser_data structure to hold data args passed to parsers
* small cleanups

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 (18):
mtd: abstract last MTD partition parser argument
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()
mtd: 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/cmdlinepart.c        |    2 +-
 drivers/mtd/devices/m25p80.c     |   37 ++------------
 drivers/mtd/maps/physmap_of.c    |   80 +++--------------------------
 drivers/mtd/mtdcore.c            |    6 +-
 drivers/mtd/mtdpart.c            |   15 ++++--
 drivers/mtd/nand/fsl_elbc_nand.c |   17 ++-----
 drivers/mtd/nand/fsl_upm.c       |   13 +----
 drivers/mtd/nand/mpc5121_nfc.c   |   17 +-----
 drivers/mtd/nand/ndfc.c          |   16 +-----
 drivers/mtd/nand/socrates_nand.c |   23 +-------
 drivers/mtd/ofpart.c             |  104 ++++++++++++++++++++++++++++++++++++--
 drivers/mtd/redboot.c            |    6 +-
 include/linux/mtd/mtd.h          |    3 +-
 include/linux/mtd/partitions.h   |   32 +++++-------
 14 files changed, 160 insertions(+), 211 deletions(-)