UBI: add image sequence number to EC header
authorAdrian Hunter <adrian.hunter@nokia.com>
Fri, 26 Jun 2009 11:58:01 +0000 (14:58 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 5 Jul 2009 15:47:07 +0000 (18:47 +0300)
commit0c6c7fa1313fcb69cae35e34168d2e83b8da854a
tree5ba3c6eda144b060829529096f30c6f83e357d5b
parent1398788fe7b730db10e97dcb9f838603e41922d5
UBI: add image sequence number to EC header

An image sequence number is added to the UBI erase-counter header
to be able determine if the root file system contains a mixture
of old and new images (because the flashing failed to complete).

A change to nolo is also needed for this to take effect.

Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/debug.c
drivers/mtd/ubi/io.c
drivers/mtd/ubi/scan.c
drivers/mtd/ubi/ubi-media.h
drivers/mtd/ubi/ubi.h