|
@@ -144,6 +144,17 @@ struct mtd_info {
|
|
|
*/
|
|
|
uint32_t writesize;
|
|
|
|
|
|
+ /*
|
|
|
+ * Size of the write buffer used by the MTD. MTD devices having a write
|
|
|
+ * buffer can write multiple writesize chunks at a time. E.g. while
|
|
|
+ * writing 4 * writesize bytes to a device with 2 * writesize bytes
|
|
|
+ * buffer the MTD driver can (but doesn't have to) do 2 writesize
|
|
|
+ * operations, but not 4. Currently, all NANDs have writebufsize
|
|
|
+ * equivalent to writesize (NAND page size). Some NOR flashes do have
|
|
|
+ * writebufsize greater than writesize.
|
|
|
+ */
|
|
|
+ uint32_t writebufsize;
|
|
|
+
|
|
|
uint32_t oobsize; // Amount of OOB data per block (e.g. 16)
|
|
|
uint32_t oobavail; // Available OOB bytes per block
|
|
|
|