aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@nokia.com>2009-05-05 04:04:19 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-06-05 12:49:25 -0400
commitee8f37688966ab1438d0cf42e0cb7c6595d9592c (patch)
tree6607008d4b764c930114fc83066faa3f0de3c986 /include
parent1e42d142e65ebdef38fb399b421d04e092ad1c6e (diff)
mtd: OneNAND: add support for OneNAND manufactured by Numonyx
In addition to adding the Numonyx manufacturer code, this patch also ensures 'sync. write' is disabled when reading identification data - something that the Numonyx chip objects to, but the Samsung chip seems to ignore. Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mtd/onenand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/onenand.h b/include/linux/mtd/onenand.h
index 9aa2a9149b5..0fa3ac4ad57 100644
--- a/include/linux/mtd/onenand.h
+++ b/include/linux/mtd/onenand.h
@@ -176,6 +176,7 @@ struct onenand_chip {
176 * OneNAND Flash Manufacturer ID Codes 176 * OneNAND Flash Manufacturer ID Codes
177 */ 177 */
178#define ONENAND_MFR_SAMSUNG 0xec 178#define ONENAND_MFR_SAMSUNG 0xec
179#define ONENAND_MFR_NUMONYX 0x20
179 180
180/** 181/**
181 * struct onenand_manufacturers - NAND Flash Manufacturer ID Structure 182 * struct onenand_manufacturers - NAND Flash Manufacturer ID Structure