]> git.baikalelectronics.ru Git - kernel.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>
Sun, 11 Sep 2011 12:02:04 +0000 (15:02 +0300)
commit664f3f522a9459799a1ac53b79f37b7ddf21f726
tree900ad92a1c8af1bf967ec05623438eb54af9cf80
parentf9c18590bc6764174e12c6db4932c70bd496d5c9
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