]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: add a flags for partitions which should just leave smth. after them
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 6 Jun 2011 14:04:14 +0000 (18:04 +0400)
committerArtem Bityutskiy <artem.bityutskiy@intel.com>
Tue, 16 Aug 2011 13:44:15 +0000 (16:44 +0300)
commit31f04d2997990607e1b766ed71d8426839d6db0f
treeade1634750a6160fc7886c41c8745e7b7e76e947
parentaf6245a3609f2043c75d22bb511b448f6bdb3695
mtd: add a flags for partitions which should just leave smth. after them

Add support for MTDPART_OFS_RETAIN: such partitions start at the current
offset, take as much space as possible, but rain part->size bytes after
the end of the partitions for other parts. Primarily this is intended
for ts72xx arm platforms cleanup.

Artem: tweaked the patch a bit

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/mtdpart.c
include/linux/mtd/partitions.h