kernel_optimize_test/drivers/mtd/ubi
Artem Bityutskiy 5b289b562f UBI: amend NOR flash pre-erase quirk
In case of NOR flash, UBI zeroes EC and VID headers' magic,
in order to detect interrupted erasures. It first zeroes out
the EC magic, then VID magic. However, if a power cut happens
in between, we'll end up with a corrupted EC header and a valid
VID header, in which case UBI accepts the PEB, but prints a
warning. This patch makes sure we first zero out the VID
magic, then the EC magic, not vice versa. This is just a
small amendment to prevent warning messages.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
2009-08-14 20:01:36 +03:00
..
build.c UBI: fix NOR flash recovery 2009-07-07 11:37:45 +03:00
cdev.c UBI: remove built-in gluebi 2009-06-02 13:53:35 +03:00
debug.c UBI: add image sequence number to EC header 2009-07-05 18:47:07 +03:00
debug.h UBI: remove bogus debugging checks 2009-07-05 18:47:05 +03:00
eba.c UBI: fix double free on error path 2009-07-24 20:08:52 +03:00
gluebi.c UBI: gluebi: initialize ubi_num field 2009-07-15 11:30:55 +03:00
io.c UBI: amend NOR flash pre-erase quirk 2009-08-14 20:01:36 +03:00
kapi.c UBI: add notification API 2009-06-02 13:53:35 +03:00
Kconfig UBI: make gluebi a separate module 2009-06-03 17:45:23 +03:00
Kconfig.debug UBI: allow direct user-space I/O 2009-01-27 16:54:41 +02:00
Makefile UBI: make gluebi a separate module 2009-06-03 17:45:23 +03:00
misc.c UBI: avoid unnecessary division operations 2008-07-24 13:32:54 +03:00
scan.c UBI: print a message if ECH is corrupted and VIDH is ok 2009-08-14 20:01:35 +03:00
scan.h UBI: nicify image sequence number handling 2009-07-05 18:47:08 +03:00
ubi-media.h UBI: add image sequence number to EC header 2009-07-05 18:47:07 +03:00
ubi.h UBI: fix NOR flash recovery 2009-07-07 11:37:45 +03:00
upd.c UBI: minor serialization fix 2009-05-18 12:28:26 +03:00
vmt.c UBI: remove built-in gluebi 2009-06-02 13:53:35 +03:00
vtbl.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
wl.c UBI: remove bogus debugging checks 2009-07-05 18:47:05 +03:00