- ramDev.nDataBytesPerChunk = 512;
- ramDev.nChunksPerBlock = 32;
- ramDev.nReservedBlocks = 2; // Set this smaller for RAM
- ramDev.startBlock = 1; // Can't use block 0
- ramDev.endBlock = 127; // Last block in 2MB.
- ramDev.useNANDECC = 1;
- ramDev.nShortOpCaches = 0; // Disable caching on this device.
+ ramDev.data_bytes_per_chunk = 512;
+ ramDev.chunks_per_block = 32;
+ ramDev.n_reserved_blocks = 2; // Set this smaller for RAM
+ ramDev.start_block = 1; // Can't use block 0
+ ramDev.end_block = 127; // Last block in 2MB.
+ ramDev.use_nand_ecc = 1;
+ ramDev.n_caches = 0; // Disable caching on this device.