diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/mtd/nand.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index c2b9ac4fbc4a..42f70e2d33af 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
@@ -449,6 +449,9 @@ struct nand_buffers { | |||
449 | * @options: [BOARDSPECIFIC] various chip options. They can partly | 449 | * @options: [BOARDSPECIFIC] various chip options. They can partly |
450 | * be set to inform nand_scan about special functionality. | 450 | * be set to inform nand_scan about special functionality. |
451 | * See the defines for further explanation. | 451 | * See the defines for further explanation. |
452 | * @bbt_options: [INTERN] bad block specific options. All options used | ||
453 | * here must come from bbm.h. By default, these options | ||
454 | * will be copied to the appropriate nand_bbt_descr's. | ||
452 | * @badblockpos: [INTERN] position of the bad block marker in the oob | 455 | * @badblockpos: [INTERN] position of the bad block marker in the oob |
453 | * area. | 456 | * area. |
454 | * @badblockbits: [INTERN] number of bits to left-shift the bad block | 457 | * @badblockbits: [INTERN] number of bits to left-shift the bad block |
@@ -509,6 +512,7 @@ struct nand_chip { | |||
509 | 512 | ||
510 | int chip_delay; | 513 | int chip_delay; |
511 | unsigned int options; | 514 | unsigned int options; |
515 | unsigned int bbt_options; | ||
512 | 516 | ||
513 | int page_shift; | 517 | int page_shift; |
514 | int phys_erase_shift; | 518 | int phys_erase_shift; |