*/
const char *yaffs_guts_c_version =
- "$Id: yaffs_guts.c,v 1.21 2005-10-09 07:55:00 charles Exp $";
+ "$Id: yaffs_guts.c,v 1.23 2005-11-07 07:19:34 charles Exp $";
#include "yportenv.h"
if (markNAND &&
bi->blockState != YAFFS_BLOCK_STATE_COLLECTING && !dev->isYaffs2) {
-#ifdef CONFIG_MTD_NAND_VERIFY_WRITE
-
- /* Read data before write, to ensure correct ecc
- * if we're using MTD verification under Linux
- */
- yaffs_ReadChunkFromNAND(dev, chunkId, NULL, &spare, 0);
-#endif
-
yaffs_InitialiseTags(&tags);
tags.chunkDeleted = 1;
int extraBits;
int nBlocks;
- T(YAFFS_TRACE_ALWAYS, (TSTR("yaffs: yaffs_GutsInitialise()" TENDSTR)));
+ T(YAFFS_TRACE_TRACING, (TSTR("yaffs: yaffs_GutsInitialise()" TENDSTR)));
/* Check stuff that must be set */
yaffs_VerifyFreeChunks(dev);
- T(YAFFS_TRACE_ALWAYS,
+ T(YAFFS_TRACE_TRACING,
(TSTR("yaffs: yaffs_GutsInitialise() done.\n" TENDSTR)));
return YAFFS_OK;