From 6b53042f2dedecca77ae74015b21724861c0e7eb Mon Sep 17 00:00:00 2001 From: Antony Arun T Date: Tue, 4 Sep 2018 15:55:47 +0530 Subject: [PATCH] ipq40xx: adding support for ESMT(GIGADEVICE) nand flash Change-Id: Iaf99a3dd0ee79fa75ee7ad97299dcd9fe36679bb Signed-off-by: Antony Arun T --- drivers/mtd/nand/nand_ids.c | 1 + include/linux/mtd/nand.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 5e7642ae50..f243ac2502 100644 --- a/drivers/mtd/nand/nand_ids.c +++ b/drivers/mtd/nand/nand_ids.c @@ -192,6 +192,7 @@ struct nand_manufacturers nand_manuf_ids[] = { {NAND_MFR_SANDISK, "SanDisk"}, {NAND_MFR_INTEL, "Intel"}, {NAND_MFR_ATO, "ATO"}, + {NAND_MFR_GIGA, "GigaDevice"}, {0x0, "Unknown"} }; diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index 23072fdfc3..6d4edf2ba4 100644 --- a/include/linux/mtd/nand.h +++ b/include/linux/mtd/nand.h @@ -756,6 +756,7 @@ struct nand_chip { #define NAND_MFR_SANDISK 0x45 #define NAND_MFR_INTEL 0x89 #define NAND_MFR_ATO 0x9b +#define NAND_MFR_GIGA 0xc8 /* The maximum expected count of bytes in the NAND ID sequence */ #define NAND_MAX_ID_LEN 8