Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231714
b: refs/heads/master
c: 0e4ca7e
h: refs/heads/master
v: v3
  • Loading branch information
Anatolij Gustschin authored and David Woodhouse committed Jan 6, 2011
1 parent 37e0cb7 commit f852f3c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ac4e613a88d7f6a7a9651d863e9c8f63b582718
refs/heads/master: 0e4ca7e5101e7f4054452b8d71c535eec64a187b
11 changes: 11 additions & 0 deletions trunk/include/linux/mtd/mtd.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f852f3c

Please sign in to comment.