X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=yaffs_guts.h;h=769dcc50adc2a7706012569b9d54c96bc8dbc64e;hb=a03d8e2c95ff61dd751f629bd7b2f2533fa955e8;hp=46e8f982fe704c63c388a4e344f36cf367711237;hpb=657bdac1f20c85e9e0d06ef5fcdd49cec4d7627c;p=yaffs%2F.git diff --git a/yaffs_guts.h b/yaffs_guts.h index 46e8f98..769dcc5 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -14,7 +14,7 @@ * * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. * - * $Id: yaffs_guts.h,v 1.15 2003-01-17 04:19:08 charles Exp $ + * $Id: yaffs_guts.h,v 1.16 2003-01-31 03:30:33 charles Exp $ */ #ifndef __YAFFS_GUTS_H__ @@ -62,8 +62,6 @@ #define YAFFS_NOBJECT_BUCKETS 256 -#define YAFFS_RESERVED_BLOCKS 8 - #define YAFFS_OBJECT_SPACE 0x40000 #define YAFFS_MAX_NAME_LENGTH 255 #define YAFFS_SHORT_NAME_LENGTH 15 @@ -399,9 +397,11 @@ struct yaffs_DeviceStruct { // Entry parameters set up way early. Yaffs sets up the rest. int nBytesPerChunk; // Should be a power of 2 >= 512 - int nChunksPerBlock; - int startBlock; // Start block we're allowed to use - int endBlock; // End block we're allowed to use + int nChunksPerBlock; // does not need to be a power of 2 + int startBlock; // Start block we're allowed to use + int endBlock; // End block we're allowed to use + int nReservedBlocks; // We want this tuneable so that we can reduce + // reserved blocks on NOR and RAM. int useNANDECC; // Flag to decide whether or not to use NANDECC int nShortOpCaches; // If <= 0, then short op caching is disabled, else