summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2007-02-08 05:55:31 -0600
committerJosh Boyer <jwboyer@gmail.com>2007-02-08 05:55:31 -0600
commit79ebda3c02f72883de83e64c9f608e24ce148c0c (patch)
treed4190c2235f1373ab7d5c23ea109af38aeb6f346
parentc7684f3cbb999e4aac050f4be16914a7db2c7156 (diff)
[MTD] Utils: Add 1KB page & 32 bytes spare NAND
Some OneNAND chips use this spec. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Josh Boyer <jwboyer@gmail.com>
-rw-r--r--nanddump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nanddump.c b/nanddump.c
index 8056790..463ddcc 100644
--- a/nanddump.c
+++ b/nanddump.c
@@ -197,6 +197,7 @@ int main(int argc, char **argv)
/* Make sure device page sizes are valid */
if (!(meminfo.oobsize == 64 && meminfo.writesize == 2048) &&
+ !(meminfo.oobsize == 32 && meminfo.writesize == 1024) &&
!(meminfo.oobsize == 16 && meminfo.writesize == 512) &&
!(meminfo.oobsize == 8 && meminfo.writesize == 256)) {
fprintf(stderr, "Unknown flash (not normal NAND)\n");