[U-Boot] [PATCH v2 2/3] OneNAND: Add support for Numonyx part

Enric Balletbo i Serra eballetbo at gmail.com
Wed Apr 14 10:11:31 CEST 2010


From: Enric Balletbo i Serra <eballetbo at iseebcn.com>


Signed-off-by: Enric Balletbo i Serra <eballetbo at iseebcn.com>
---
 drivers/mtd/onenand/onenand_base.c |    1 +
 include/linux/mtd/onenand.h        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index f9273ab..c978420 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -2214,6 +2214,7 @@ char *onenand_print_device_info(int device, int version)
 
 static const struct onenand_manufacturers onenand_manuf_ids[] = {
 	{ONENAND_MFR_SAMSUNG, "Samsung"},
+	{ONENAND_MFR_NUMONYX, "Numonyx"},
 };
 
 /**
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
index 68e174e..1827226 100644
--- a/include/linux/mtd/onenand.h
+++ b/include/linux/mtd/onenand.h
@@ -155,6 +155,7 @@ struct onenand_chip {
  * OneNAND Flash Manufacturer ID Codes
  */
 #define ONENAND_MFR_SAMSUNG	0xec
+#define ONENAND_MFR_NUMONYX     0x20
 
 /**
  * struct nand_manufacturers - NAND Flash Manufacturer ID Structure
-- 
1.5.4.3



More information about the U-Boot mailing list