diff options
| author | Peter Pan <peterpandong@micron.com> | 2018-06-22 08:28:25 -0400 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-18 03:24:11 -0400 |
| commit | a508e8875e135d7a1df26d8131b5443cb07005ff (patch) | |
| tree | 4c62d800dad96875edca4eba5db39ebca7b61470 /include/linux/mtd | |
| parent | 5ef5640a27775f533c8c6ad85e06db4f37ead9c0 (diff) | |
mtd: spinand: Add initial support for Micron MT29F2G01ABAGD
Add a basic driver for Micron SPI NANDs. Only one device is supported
right now, but the driver will be extended to support more devices
afterwards.
Signed-off-by: Peter Pan <peterpandong@micron.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'include/linux/mtd')
| -rw-r--r-- | include/linux/mtd/spinand.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h index d3efe62dc9de..717b272940f1 100644 --- a/include/linux/mtd/spinand.h +++ b/include/linux/mtd/spinand.h | |||
| @@ -193,6 +193,9 @@ struct spinand_manufacturer { | |||
| 193 | const struct spinand_manufacturer_ops *ops; | 193 | const struct spinand_manufacturer_ops *ops; |
| 194 | }; | 194 | }; |
| 195 | 195 | ||
| 196 | /* SPI NAND manufacturers */ | ||
| 197 | extern const struct spinand_manufacturer micron_spinand_manufacturer; | ||
| 198 | |||
| 196 | /** | 199 | /** |
| 197 | * struct spinand_op_variants - SPI NAND operation variants | 200 | * struct spinand_op_variants - SPI NAND operation variants |
| 198 | * @ops: the list of variants for a given operation | 201 | * @ops: the list of variants for a given operation |
