summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorWolfgang Grandegger <wg@grandegger.com>2009-01-08 19:21:27 +0100
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-01-09 12:16:28 +0000
commitfefae48bf8caab7d56ee4f8181f06602cf73d29e (patch)
treef34d60185f770b7ac800094cac1a331c60e0473e /include/linux
parenta808ad3b0d28411e2838117c5b2ae680ae42483c (diff)
downloadop-kernel-dev-fefae48bf8caab7d56ee4f8181f06602cf73d29e.zip
op-kernel-dev-fefae48bf8caab7d56ee4f8181f06602cf73d29e.tar.gz
[MTD] CFI: remove major/minor version check for command set 0x0002
The NOR Flash memory K8P2815UQB from Samsung uses the major version number '0'. Add a quirk to cope with it. Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mtd/cfi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mtd/cfi.h b/include/linux/mtd/cfi.h
index 00e2b57..88d3d8f 100644
--- a/include/linux/mtd/cfi.h
+++ b/include/linux/mtd/cfi.h
@@ -520,6 +520,7 @@ struct cfi_fixup {
#define CFI_MFR_AMD 0x0001
#define CFI_MFR_ATMEL 0x001F
+#define CFI_MFR_SAMSUNG 0x00EC
#define CFI_MFR_ST 0x0020 /* STMicroelectronics */
void cfi_fixup(struct mtd_info *mtd, struct cfi_fixup* fixups);
OpenPOWER on IntegriCloud