Home
last modified time | relevance | path

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

/external/yaffs2/yaffs2/direct/
Dyaffscfg.c52 static yaffs_Device ramDev; variable
58 { "/ram", &ramDev},
74 ramDev.nBytesPerChunk = 512; in yaffs_StartUp()
75 ramDev.nChunksPerBlock = 32; in yaffs_StartUp()
76 ramDev.nReservedBlocks = 2; // Set this smaller for RAM in yaffs_StartUp()
77 ramDev.startBlock = 1; // Can't use block 0 in yaffs_StartUp()
78 ramDev.endBlock = 127; // Last block in 2MB. in yaffs_StartUp()
79 ramDev.useNANDECC = 1; in yaffs_StartUp()
80 ramDev.nShortOpCaches = 0; // Disable caching on this device. in yaffs_StartUp()
81 ramDev.genericDevice = (void *) 0; // Used to identify the device in fstat. in yaffs_StartUp()
[all …]
Dyaffscfg2k.c57 static yaffs_Device ramDev; variable
64 { "/ram", &ramDev},
70 { "/", &ramDev},
87 memset(&ramDev,0,sizeof(ramDev)); in yaffs_StartUp()
88 ramDev.nDataBytesPerChunk = 512; in yaffs_StartUp()
89 ramDev.nChunksPerBlock = 32; in yaffs_StartUp()
90 ramDev.nReservedBlocks = 2; // Set this smaller for RAM in yaffs_StartUp()
91 ramDev.startBlock = 0; // Can use block 0 in yaffs_StartUp()
92 ramDev.endBlock = 127; // Last block in 2MB. in yaffs_StartUp()
94 ramDev.nShortOpCaches = 0; // Disable caching on this device. in yaffs_StartUp()
[all …]