diff options
-rw-r--r-- | nanddump.c | 1 | ||||
-rw-r--r-- | nandwrite.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -212,6 +212,7 @@ int main(int argc, char * const argv[]) if (!(meminfo.oobsize == 224 && meminfo.writesize == 4096) && !(meminfo.oobsize == 218 && meminfo.writesize == 4096) && !(meminfo.oobsize == 128 && meminfo.writesize == 4096) && + !(meminfo.oobsize == 64 && meminfo.writesize == 4096) && !(meminfo.oobsize == 64 && meminfo.writesize == 2048) && !(meminfo.oobsize == 32 && meminfo.writesize == 1024) && !(meminfo.oobsize == 16 && meminfo.writesize == 512) && diff --git a/nandwrite.c b/nandwrite.c index e691ebd..1b4ca3d 100644 --- a/nandwrite.c +++ b/nandwrite.c @@ -301,6 +301,7 @@ int main(int argc, char * const argv[]) if (!(meminfo.oobsize == 16 && meminfo.writesize == 512) && !(meminfo.oobsize == 8 && meminfo.writesize == 256) && !(meminfo.oobsize == 64 && meminfo.writesize == 2048) && + !(meminfo.oobsize == 64 && meminfo.writesize == 4096) && !(meminfo.oobsize == 128 && meminfo.writesize == 4096)) { fprintf(stderr, "Unknown flash (not normal NAND)\n"); close(fd); |