UBI: fix NOR erase preparation quirk
authorHolger Brunck <holger.brunck@keymile.com>
Tue, 25 Jan 2011 11:04:11 +0000 (13:04 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 26 Jan 2011 08:13:52 +0000 (10:13 +0200)
In 'nor_erase_prepare()' we want to make sure the UBI headers are
corrupted. But it is possible that one of the headers just contains
all 0xFFs, which is also OK, because UBI will erase it in case of
a power cut.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found