* [PATCH] nanddump: Support 4096+218 and 4096+224 page sizes
@ 2010-05-04 4:14 Kevin Cernekee
2010-05-05 11:25 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Kevin Cernekee @ 2010-05-04 4:14 UTC (permalink / raw)
To: dwmw2; +Cc: linux-mtd
Tested with Samsung K9GAG08U0D.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
---
nanddump.c | 4 +++-
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) &&
--
1.6.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-05 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-04 4:14 [PATCH] nanddump: Support 4096+218 and 4096+224 page sizes Kevin Cernekee
2010-05-05 11:25 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).