Home
last modified time | relevance | path

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

/external/yaffs2/yaffs2/direct/
Dyaffscfg2k.c58 static yaffs_Device bootDev; variable
65 { "/boot", &bootDev},
71 { "/flash/boot", &bootDev},
102 memset(&bootDev,0,sizeof(bootDev)); in yaffs_StartUp()
103 bootDev.nDataBytesPerChunk = 512; in yaffs_StartUp()
104 bootDev.nChunksPerBlock = 32; in yaffs_StartUp()
105 bootDev.nReservedBlocks = 5; in yaffs_StartUp()
106 bootDev.startBlock = 0; // Can use block 0 in yaffs_StartUp()
107 bootDev.endBlock = 63; // Last block in yaffs_StartUp()
109 bootDev.nShortOpCaches = 10; // Use caches in yaffs_StartUp()
[all …]
Dyaffscfg.c53 static yaffs_Device bootDev; variable
59 { "/boot", &bootDev},
88 bootDev.nBytesPerChunk = 612; in yaffs_StartUp()
89 bootDev.nChunksPerBlock = 32; in yaffs_StartUp()
90 bootDev.nReservedBlocks = 5; in yaffs_StartUp()
91 bootDev.startBlock = 1; // Can't use block 0 in yaffs_StartUp()
92 bootDev.endBlock = 127; // Last block in 2MB. in yaffs_StartUp()
93 bootDev.useNANDECC = 0; // use YAFFS's ECC in yaffs_StartUp()
94 bootDev.nShortOpCaches = 10; // Use caches in yaffs_StartUp()
95 bootDev.genericDevice = (void *) 1; // Used to identify the device in fstat. in yaffs_StartUp()
[all …]