Skip to content
Snippets Groups Projects
Commit bb1ff049 authored by Markus Klotzbcher's avatar Markus Klotzbcher Committed by Markus Klotzbcher
Browse files

Read bug fixed. Now "nand bad" list the badblocks correctly (i hope, since

there are 0)
parent 481911c7
No related branches found
No related tags found
No related merge requests found
......@@ -69,8 +69,11 @@ static void delta_read_buf(struct mtd_info *mtd, u_char* const buf, int len)
/* if there are any, first copy multiple of 4 bytes */
if(num_words) {
for(i=0; i<num_words; i+=4)
buf[i] = NDDB;
for(i=0; i<num_words; i+=4) {
unsigned long *long_buf = &buf[i];
/* ((unsigned long *) &buf[i]) = NDDB; */
*long_buf = NDDB;
}
}
/* ...then the rest */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment