X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_tagscompat.h;h=a61e3ba14f1ffeff4937c61847112ca18ebf6356;hp=c746ad91d9e10bd3e20fe40aaeb4531b883d9b3a;hb=87080862c91978ff183137db7a8e695fa87627b5;hpb=6f1de4473200f31d1ca1cf4672baf7afcdec2db0 diff --git a/yaffs_tagscompat.h b/yaffs_tagscompat.h index c746ad9..a61e3ba 100644 --- a/yaffs_tagscompat.h +++ b/yaffs_tagscompat.h @@ -1,5 +1,5 @@ /* - * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * * Copyright (C) 2002-2007 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering @@ -33,4 +33,8 @@ int yaffs_TagsCompatabilityQueryNANDBlock(struct yaffs_DeviceStruct *dev, int blockNo, yaffs_BlockState * state, int *sequenceNumber); +void yaffs_CalcTagsECC(yaffs_Tags * tags); +int yaffs_CheckECCOnTags(yaffs_Tags * tags); +int yaffs_CountBits(__u8 byte); + #endif