ipq40xx: adding support for ESMT(GIGADEVICE) nand flash

Change-Id: Iaf99a3dd0ee79fa75ee7ad97299dcd9fe36679bb
Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This commit is contained in:
Antony Arun T 2018-09-04 15:55:47 +05:30 committed by Gerrit - the friendly Code Review server
parent 7ddecbd613
commit 6b53042f2d
2 changed files with 2 additions and 0 deletions

View file

@ -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"}
};

View file

@ -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