*/
const char *yaffs_mtdif_c_version =
- "$Id: yaffs_mtdif.c,v 1.16 2006-11-08 06:24:34 charles Exp $";
+ "$Id: yaffs_mtdif.c,v 1.17 2006-11-29 20:21:12 charles Exp $";
#include "yportenv.h"
spare->tagByte5 = oob[5] == 0xff ? 0xff : oob[5] & 0x3f;
spare->blockStatus = oob[5] & 0x80 ? 0xff : 'Y';
spare->pageStatus = oob[5] & 0x40 ? 0xff : 0;
+ spare->ecc1[0] = spare->ecc1[1] = spare->ecc1[2] = 0xff;
spare->tagByte6 = oob[6];
spare->tagByte7 = oob[7];
+ spare->ecc2[0] = spare->ecc2[1] = spare->ecc2[2] = 0xff;
nspare->eccres1 = nspare->eccres2 = 0; /* FIXME */
}