changeset 73:372cdc4705d7

Change bad block marker to Y to identify YAFFS-marked bad blocks
author charles <charles>
date Wed, 10 Aug 2005 20:34:40 +0000
parents fe834f807e83
children 214fa19822cc
files yaffs_tagscompat.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yaffs_tagscompat.c
+++ b/yaffs_tagscompat.c
@@ -10,7 +10,7 @@
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
  *
- * $Id: yaffs_tagscompat.c,v 1.4 2005-08-09 04:22:30 charles Exp $
+ * $Id: yaffs_tagscompat.c,v 1.5 2005-08-10 20:34:40 charles Exp $
  */
 
 #include "yaffs_guts.h"
@@ -496,7 +496,7 @@ int yaffs_TagsCompatabilityMarkNANDBlock
 
 	memset(&spare, 0xff,sizeof(yaffs_Spare));
 
-	spare.blockStatus = 0;
+	spare.blockStatus = 'Y';
 
 	yaffs_WriteChunkToNAND(dev, blockInNAND * dev->nChunksPerBlock, NULL , &spare);
 	yaffs_WriteChunkToNAND(dev, blockInNAND * dev->nChunksPerBlock + 1, NULL , &spare);