aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2018-08-16 18:05:08 +0200
committerJagan Teki <jagan@amarulasolutions.com>2018-10-04 18:24:24 +0530
commit9e5c2a755a6ca5f3931de548f43101d0d18ac003 (patch)
tree72ed358367210b530fc395cb6f8c097b4a898ccd /include/linux
parent881e4fc206fb0e7466b532665655647b5956b65e (diff)
downloadu-boot-9e5c2a755a6ca5f3931de548f43101d0d18ac003.zip
u-boot-9e5c2a755a6ca5f3931de548f43101d0d18ac003.tar.gz
u-boot-9e5c2a755a6ca5f3931de548f43101d0d18ac003.tar.bz2
mtd: nand: spi: Add Gigadevice SPI NAND support
This patch adds support for Gigadevices SPI NAND device to the new SPI NAND infrastructure in U-Boot. Currently only the 128MiB GD5F1GQ4UC device is supported. Signed-off-by: Stefan Roese <sr@denx.de> Cc: Miquel Raynal <miquel.raynal@bootlin.com> Cc: Boris Brezillon <boris.brezillon@bootlin.com> Cc: Jagan Teki <jagan@openedev.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Jagan Teki <jagan@openedev.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/spinand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/spinand.h b/include/linux/mtd/spinand.h
index 8c9c756..be01e1e 100644
--- a/include/linux/mtd/spinand.h
+++ b/include/linux/mtd/spinand.h
@@ -201,6 +201,7 @@ struct spinand_manufacturer {
};
/* SPI NAND manufacturers */
+extern const struct spinand_manufacturer gigadevice_spinand_manufacturer;
extern const struct spinand_manufacturer macronix_spinand_manufacturer;
extern const struct spinand_manufacturer micron_spinand_manufacturer;
extern const struct spinand_manufacturer winbond_spinand_manufacturer;