diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mtd/nand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 1482340d3d9f..2829e8be3a62 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
| @@ -459,6 +459,8 @@ struct nand_buffers { | |||
| 459 | * @pagemask: [INTERN] page number mask = number of (pages / chip) - 1 | 459 | * @pagemask: [INTERN] page number mask = number of (pages / chip) - 1 |
| 460 | * @pagebuf: [INTERN] holds the pagenumber which is currently in | 460 | * @pagebuf: [INTERN] holds the pagenumber which is currently in |
| 461 | * data_buf. | 461 | * data_buf. |
| 462 | * @pagebuf_bitflips: [INTERN] holds the bitflip count for the page which is | ||
| 463 | * currently in data_buf. | ||
| 462 | * @subpagesize: [INTERN] holds the subpagesize | 464 | * @subpagesize: [INTERN] holds the subpagesize |
| 463 | * @onfi_version: [INTERN] holds the chip ONFI version (BCD encoded), | 465 | * @onfi_version: [INTERN] holds the chip ONFI version (BCD encoded), |
| 464 | * non 0 if ONFI supported. | 466 | * non 0 if ONFI supported. |
| @@ -519,6 +521,7 @@ struct nand_chip { | |||
| 519 | uint64_t chipsize; | 521 | uint64_t chipsize; |
| 520 | int pagemask; | 522 | int pagemask; |
| 521 | int pagebuf; | 523 | int pagebuf; |
| 524 | unsigned int pagebuf_bitflips; | ||
| 522 | int subpagesize; | 525 | int subpagesize; |
| 523 | uint8_t cellinfo; | 526 | uint8_t cellinfo; |
| 524 | int badblockpos; | 527 | int badblockpos; |
