diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-07-24 13:18:04 (GMT) |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2009-08-14 17:02:20 (GMT) |
commit | de75c771b4cc4da963164a538a8448128301bc35 (patch) | |
tree | a8fea3a1a6c68324b0b425c482f3c2ef5c7d1b22 /drivers/mtd/onenand | |
parent | 867996b15c1f0a98d2c405bada907e97499ba8c2 (diff) | |
download | linux-fsl-qoriq-de75c771b4cc4da963164a538a8448128301bc35.tar.xz |
UBI: improve NOR flash erasure quirk
More testing of NOR flash against power cuts showed that sometimes
eraseblocks may be unwritable, and we cannot really invalidate
them before erasure. But in this case the eraseblock probably
contains garbage anyway, and we do not have to invalidate the
headers. This assumption might be not true, but this is at least
what I have observed. So if we cannot invalidate the headers,
we make sure that the PEB does not contain valid VID header.
If this is true, everything is fine, otherwise we panic.
Diffstat (limited to 'drivers/mtd/onenand')
0 files changed, 0 insertions, 0 deletions