Home
last modified time | relevance | path

Searched refs:flashDev (Results 1 – 2 of 2) sorted by relevance

/external/yaffs2/yaffs2/direct/
Dyaffscfg2k.c59 static yaffs_Device flashDev; variable
66 { "/flash/", &flashDev},
72 { "/flash/flash", &flashDev},
124 memset(&flashDev,0,sizeof(flashDev)); in yaffs_StartUp()
126 flashDev.nDataBytesPerChunk = 2048; in yaffs_StartUp()
127 flashDev.nChunksPerBlock = 64; in yaffs_StartUp()
128 flashDev.nReservedBlocks = 5; in yaffs_StartUp()
129 flashDev.nCheckpointReservedBlocks = 5; in yaffs_StartUp()
132 flashDev.startBlock = 20; in yaffs_StartUp()
134 flashDev.endBlock = yflash_GetNumberOfBlocks()-1; in yaffs_StartUp()
[all …]
Dyaffscfg.c54 static yaffs_Device flashDev; variable
60 { "/flash", &flashDev},
102 flashDev.nBytesPerChunk = 512; in yaffs_StartUp()
103 flashDev.nChunksPerBlock = 32; in yaffs_StartUp()
104 flashDev.nReservedBlocks = 5; in yaffs_StartUp()
105 flashDev.startBlock = 128; // First block after 2MB in yaffs_StartUp()
106 flashDev.endBlock = 1023; // Last block in 16MB in yaffs_StartUp()
107 flashDev.useNANDECC = 0; // use YAFFS's ECC in yaffs_StartUp()
108 flashDev.nShortOpCaches = 10; // Use caches in yaffs_StartUp()
109 flashDev.genericDevice = (void *) 2; // Used to identify the device in fstat. in yaffs_StartUp()
[all …]