ubi: Rework Fastmap attach base code
authorRichard Weinberger <richard@nod.at>
Tue, 14 Jun 2016 08:12:15 +0000 (10:12 +0200)
committerRichard Weinberger <richard@nod.at>
Fri, 29 Jul 2016 21:32:42 +0000 (23:32 +0200)
commitfdf10ed710c0aa177e8dfcd84e65e4e5e8e0956b
treedbe8f8cb94857d85987d82f4be8cca2b7483749e
parentbe8011053f0678792a1f0adda66fd74a5fe4adc3
ubi: Rework Fastmap attach base code

Introduce a new list to the UBI attach information
object to be able to deal better with old and corrupted
Fastmap eraseblocks.
Also move more Fastmap specific code into fastmap.c.

Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/attach.c
drivers/mtd/ubi/fastmap.c
drivers/mtd/ubi/ubi.h
drivers/mtd/ubi/wl.c