]> 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 <dedekind1@gmail.com>
Thu, 23 Jun 2011 08:43:41 +0000 (11:43 +0300)
commitdf222209c1729fbb962241ef2c392b409a3d2a7a
tree221e13f7fcb24895ffc3dd8daf27c0ca328b718c
parentb0abc4f2c482f2040172c07fea2cc297cfc2a108
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