Skip to content

Commit 3f97c6f

Browse files
Huang Shijiecomputersforpeace
authored andcommitted
mtd: nand: add SanDisk manufacturer ID
Add the manufactor ID for SanDisk. Make preparation for SanDisk SDTNRGAMA-008G. Signed-off-by: Huang Shijie <b32955@freescale.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
1 parent 94d04e8 commit 3f97c6f

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/mtd/nand/nand_ids.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
169169
{NAND_MFR_AMD, "AMD/Spansion"},
170170
{NAND_MFR_MACRONIX, "Macronix"},
171171
{NAND_MFR_EON, "Eon"},
172+
{NAND_MFR_SANDISK, "SanDisk"},
172173
{0x0, "Unknown"}
173174
};
174175

‎include/linux/mtd/nand.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,7 @@ struct nand_chip {
633633
#define NAND_MFR_AMD 0x01
634634
#define NAND_MFR_MACRONIX 0xc2
635635
#define NAND_MFR_EON 0x92
636+
#define NAND_MFR_SANDISK 0x45
636637

637638
/* The maximum expected count of bytes in the NAND ID sequence */
638639
#define NAND_MAX_ID_LEN 8

0 commit comments

Comments
 (0)