summaryrefslogtreecommitdiff
path: root/nanddump.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-22 08:32:23 +0300
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-22 08:32:23 +0300
commit9afc1cd5c0b1e56cdd8192aadb68104aae30ae89 (patch)
treec26f904a6bac8a66d8255d959889f381540808f2 /nanddump.c
parent180c09de57d8e254716c562bd0537df543d12577 (diff)
parenta15b1a1409721c1d75c1ecaab90bdeca74c26fd4 (diff)
Merge branch 'master' of git://git.infradead.org/mtd-utils
Diffstat (limited to 'nanddump.c')
-rw-r--r--nanddump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nanddump.c b/nanddump.c
index 678d684..ae0e425 100644
--- a/nanddump.c
+++ b/nanddump.c
@@ -209,7 +209,9 @@ int main(int argc, char * const argv[])
}
/* Make sure device page sizes are valid */
- if (!(meminfo.oobsize == 128 && meminfo.writesize == 4096) &&
+ if (!(meminfo.oobsize == 224 && meminfo.writesize == 4096) &&
+ !(meminfo.oobsize == 218 && meminfo.writesize == 4096) &&
+ !(meminfo.oobsize == 128 && meminfo.writesize == 4096) &&
!(meminfo.oobsize == 64 && meminfo.writesize == 2048) &&
!(meminfo.oobsize == 32 && meminfo.writesize == 1024) &&
!(meminfo.oobsize == 16 && meminfo.writesize == 512) &&