Patchwork [1/2] mtd: nand: add Eon Silicon Solutions manufacturer ID

login
register
mail settings
Submitter Brian Norris
Date May 22, 2012, 2:30 p.m.
Message ID <1337697048-4577-1-git-send-email-computersforpeace@gmail.com>
Download mbox | patch
Permalink /patch/160648/
State New
Headers show

Comments

Brian Norris - May 22, 2012, 2:30 p.m.
Eon's new NAND flash: EN27LN1G08.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
---
 drivers/mtd/nand/nand_ids.c |    1 +
 include/linux/mtd/nand.h    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
Artem Bityutskiy - May 23, 2012, 12:49 p.m.
On Tue, 2012-05-22 at 07:30 -0700, Brian Norris wrote:
> Eon's new NAND flash: EN27LN1G08.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>

Pushed the 3 patches you recently sent to l2-mtd.git, thanks!

Patch

diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c
index 621b70b..509a9f6 100644
--- a/drivers/mtd/nand/nand_ids.c
+++ b/drivers/mtd/nand/nand_ids.c
@@ -176,6 +176,7 @@  struct nand_manufacturers nand_manuf_ids[] = {
 	{NAND_MFR_MICRON, "Micron"},
 	{NAND_MFR_AMD, "AMD"},
 	{NAND_MFR_MACRONIX, "Macronix"},
+	{NAND_MFR_EON, "Eon"},
 	{0x0, "Unknown"}
 };
 
diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h
index 57977c6..53dcf49 100644
--- a/include/linux/mtd/nand.h
+++ b/include/linux/mtd/nand.h
@@ -559,6 +559,7 @@  struct nand_chip {
 #define NAND_MFR_MICRON		0x2c
 #define NAND_MFR_AMD		0x01
 #define NAND_MFR_MACRONIX	0xc2
+#define NAND_MFR_EON		0x92
 
 /**
  * struct nand_flash_dev - NAND Flash Device ID Structure