X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fyaffs_fileem.c;h=f78f7c5bfa4b92e0f5f3a10593252551af41e00c;hp=6f93972c813aad938550278a44b39555f1916d0a;hb=b4a902328423692f296c9118bf6bfaa057ccc72c;hpb=d8675be9fabcfb48c92ba0e818762d69299c7b7c diff --git a/direct/yaffs_fileem.c b/direct/yaffs_fileem.c index 6f93972..f78f7c5 100644 --- a/direct/yaffs_fileem.c +++ b/direct/yaffs_fileem.c @@ -16,10 +16,11 @@ * This is only intended as test code to test persistence etc. */ -const char *yaffs_flashif_c_version = "$Id: yaffs_fileem.c,v 1.5 2009-01-12 00:49:01 charles Exp $"; +const char *yaffs_flashif_c_version = "$Id: yaffs_fileem.c,v 1.7 2010-02-18 01:18:04 charles Exp $"; #include "yportenv.h" +#include "yaffs_trace.h" #include "yaffs_flashif.h" #include "yaffs_guts.h" @@ -209,8 +210,6 @@ int yflash_EraseBlockInNAND(yaffs_Device *dev, int blockNumber) int yflash_InitialiseNAND(yaffs_Device *dev) { - dev->useNANDECC = 1; // force on useNANDECC which gets faked. - // This saves us doing ECC checks. return YAFFS_OK; }