From: Markus Klotzbücher Date: Thu, 2 Mar 2006 11:10:01 +0000 (+0100) Subject: Read bug fixed. Now "nand bad" list the badblocks correctly (i hope, since X-Git-Tag: LABEL_2006_03_12_0025~22 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bb1ff049fbac1a4edf8f0655071383e3837d337e;p=karo-tx-uboot.git Read bug fixed. Now "nand bad" list the badblocks correctly (i hope, since there are 0) --- diff --git a/board/delta/nand.c b/board/delta/nand.c index 7255827671..50d2ec244c 100644 --- a/board/delta/nand.c +++ b/board/delta/nand.c @@ -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