diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mtd/nand.h | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 07d7a3dc5582..9aed31a49af1 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h | |||
| @@ -548,19 +548,18 @@ struct nand_chip { | |||
| 548 | 548 | ||
| 549 | /** | 549 | /** |
| 550 | * struct nand_flash_dev - NAND Flash Device ID Structure | 550 | * struct nand_flash_dev - NAND Flash Device ID Structure |
| 551 | * @name: Identify the device type | 551 | * @name: a human-readable name of the NAND chip |
| 552 | * @id: device ID code | 552 | * @dev_id: the device ID (the second byte of the full chip ID array) |
| 553 | * @pagesize: Pagesize in bytes. Either 256 or 512 or 0 | 553 | * @pagesize: size of the NAND page in bytes; if 0, then the real page size (as |
| 554 | * If the pagesize is 0, then the real pagesize | 554 | * well as the eraseblock size) is determined from the extended NAND |
| 555 | * and the eraseize are determined from the | 555 | * chip ID array) |
| 556 | * extended id bytes in the chip | 556 | * @erasesize: eraseblock size in bytes (determined from the extended ID if 0) |
| 557 | * @erasesize: Size of an erase block in the flash device. | 557 | * @chipsize: total chip size in MiB |
| 558 | * @chipsize: Total chipsize in Mega Bytes | 558 | * @options: stores various chip bit options |
| 559 | * @options: Bitfield to store chip relevant options | ||
| 560 | */ | 559 | */ |
| 561 | struct nand_flash_dev { | 560 | struct nand_flash_dev { |
| 562 | char *name; | 561 | char *name; |
| 563 | int id; | 562 | int dev_id; |
| 564 | unsigned long pagesize; | 563 | unsigned long pagesize; |
| 565 | unsigned long chipsize; | 564 | unsigned long chipsize; |
| 566 | unsigned long erasesize; | 565 | unsigned long erasesize; |
