Skip to content

Commit

Permalink
mtd: nand: Add Winbond manufacturer id
Browse files Browse the repository at this point in the history
Signed-off-by: Shiji Yang <[email protected]>
  • Loading branch information
DragonBluep committed May 2, 2023
1 parent be83503 commit 92b4eeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/mtd/nand/nand_ids.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ struct nand_manufacturers nand_manuf_ids[] = {
{NAND_MFR_SANDISK, "SanDisk"},
{NAND_MFR_INTEL, "Intel"},
{NAND_MFR_ATO, "ATO"},
{NAND_MFR_WINBOND, "Winbond"},
{0x0, "Unknown"}
};

Expand Down
1 change: 1 addition & 0 deletions include/linux/mtd/rawnand.h
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,7 @@ static inline void nand_set_controller_data(struct nand_chip *chip, void *priv)
#define NAND_MFR_SANDISK 0x45
#define NAND_MFR_INTEL 0x89
#define NAND_MFR_ATO 0x9b
#define NAND_MFR_WINBOND 0xef

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

0 comments on commit 92b4eeb

Please sign in to comment.