All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V5 0/4] mtd: add support for subpartitions
@ 2017-05-24  9:44 ` Rafał Miłecki
  0 siblings, 0 replies; 14+ messages in thread
From: Rafał Miłecki @ 2017-05-24  9:44 UTC (permalink / raw)
  To: David Woodhouse, Brian Norris, Boris Brezillon, Marek Vasut,
	Richard Weinberger
  Cc: Cyrille Pitchen, linux-mtd, devicetree, Rafał Miłecki

From: Rafał Miłecki <rafal@milecki.pl>

This patchset adds support for subpartitions. This feature means support
for partitions that are containers with extra subpartitions / volumes.

Initially I wanted to keep my changes minimalistic but Brian pointed
that casting const to non-const is hacky and I should work with
add_mtd_partitions / allocate_partition instead.

Apart from trivial rename I needed to add 1 condition to the
allocate_partition and modify 3 lines of code. I hope this is
acceptable.

Please let me know if you can still see any problems with this.

Rafał Miłecki (4):
  mtd: partitions: rename allocate_partition master argument to the
    parent
  mtd: partitions: add support for allocating subpartition
  mtd: partitions: add support for partition parsers
  mtd: extract TRX parser out of bcm47xxpart into a separated module

 drivers/mtd/Kconfig              |   4 +
 drivers/mtd/Makefile             |   1 +
 drivers/mtd/bcm47xxpart.c        |  99 ++---------------------
 drivers/mtd/mtdpart.c            | 170 +++++++++++++++++++++++++--------------
 drivers/mtd/parsers/Kconfig      |   8 ++
 drivers/mtd/parsers/Makefile     |   1 +
 drivers/mtd/parsers/parser_trx.c | 126 +++++++++++++++++++++++++++++
 include/linux/mtd/partitions.h   |   7 ++
 8 files changed, 260 insertions(+), 156 deletions(-)
 create mode 100644 drivers/mtd/parsers/Kconfig
 create mode 100644 drivers/mtd/parsers/Makefile
 create mode 100644 drivers/mtd/parsers/parser_trx.c

-- 
2.11.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-05-25 20:52 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-24  9:44 [PATCH V5 0/4] mtd: add support for subpartitions Rafał Miłecki
2017-05-24  9:44 ` Rafał Miłecki
2017-05-24  9:44 ` [PATCH V5 1/4] mtd: partitions: rename allocate_partition master argument to the parent Rafał Miłecki
2017-05-24  9:44   ` Rafał Miłecki
2017-05-24  9:44 ` [PATCH V5 2/4] mtd: partitions: add support for allocating subpartition Rafał Miłecki
2017-05-24  9:44   ` Rafał Miłecki
2017-05-25 20:25   ` Brian Norris
2017-05-25 20:25     ` Brian Norris
2017-05-24  9:44 ` [PATCH V5 3/4] mtd: partitions: add support for partition parsers Rafał Miłecki
2017-05-24  9:44   ` Rafał Miłecki
2017-05-24  9:44 ` [PATCH V5 4/4] mtd: extract TRX parser out of bcm47xxpart into a separated module Rafał Miłecki
2017-05-24  9:44   ` Rafał Miłecki
2017-05-25 20:51   ` Brian Norris
2017-05-25 20:51     ` Brian Norris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.