Allow the disabling of tags ECC
[yaffs2.git] / yaffs_guts.h
index cb8d8ec788683b26b29b646faaf2d9bf1d4dae15..853fea60200bd1e5082dd4129e3fb19f712f632d 100644 (file)
@@ -557,7 +557,8 @@ struct yaffs_DeviceStruct {
 
        int useHeaderFileSize;  /* Flag to determine if we should use file sizes from the header */
 
-       int useNANDECC;         /* Flag to decide whether or not to use NANDECC */
+       int useNANDECC;         /* Flag to decide whether or not to use NANDECC on data (yaffs1) */
+       int noTagsECC;          /* Flag to decide whether or not to do ECC on packed tags (yaffs2) */ 
 
        void *genericDevice;    /* Pointer to device context
                                 * On an mtd this holds the mtd pointer.