mtd/util nanddump.c,1.24,1.25

Artem Bityuckiy dedekind at infradead.org
Thu Dec 2 14:18:00 EST 2004


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv26688

Modified Files:
	nanddump.c 
Log Message:
Adjust VERSION.
Add useful information output.


Index: nanddump.c
===================================================================
RCS file: /home/cvs/mtd/util/nanddump.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- nanddump.c	2 Dec 2004 18:58:53 -0000	1.24
+++ nanddump.c	2 Dec 2004 19:17:58 -0000	1.25
@@ -31,7 +31,7 @@
 #include <mtd/mtd-user.h>
 
 #define PROGRAM "nanddump"
-#define VERSION "V 1.19"
+#define VERSION "V 1.25"
 
 void display_help (void)
 {
@@ -203,6 +203,7 @@
 	bs = meminfo.oobblock;
 
 	/* Print informative message */
+	fprintf(stderr, "Block size %u, page size %u, OOB size %u\n", meminfo.erasesize, meminfo.oobblock, meminfo.oobsize);
 	fprintf(stderr, "Dumping data starting at 0x%08x and ending at 0x%08x...\n",
 	        (unsigned int) start_addr, (unsigned int) end_addr);
 





More information about the linux-mtd-cvs mailing list