Add patch to allow newer NOR chip query table.
authorRobert Bradford <rob@openedhand.com>
Thu, 10 Jan 2008 10:48:43 +0000 (10:48 +0000)
committerRobert Bradford <rob@openedhand.com>
Thu, 10 Jan 2008 10:48:43 +0000 (10:48 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3445 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/linux/linux-mx31-2.6.19.2/nor-query-table-fix.patch [new file with mode: 0644]
meta/packages/linux/linux-mx31_2.6.19.2.bb

diff --git a/meta/packages/linux/linux-mx31-2.6.19.2/nor-query-table-fix.patch b/meta/packages/linux/linux-mx31-2.6.19.2/nor-query-table-fix.patch
new file mode 100644 (file)
index 0000000..4408da0
--- /dev/null
@@ -0,0 +1,13 @@
+Index: linux-2.6.19.2/drivers/mtd/chips/cfi_cmdset_0001.c
+===================================================================
+--- linux-2.6.19.2.orig/drivers/mtd/chips/cfi_cmdset_0001.c    2008-01-10 11:06:29.000000000 +0000
++++ linux-2.6.19.2/drivers/mtd/chips/cfi_cmdset_0001.c 2008-01-10 11:06:58.000000000 +0000
+@@ -263,7 +263,7 @@
+               return NULL;
+       if (extp->MajorVersion != '1' ||
+-          (extp->MinorVersion < '0' || extp->MinorVersion > '4')) {
++          (extp->MinorVersion < '0' || extp->MinorVersion > '5')) {
+               printk(KERN_ERR "  Unknown Intel/Sharp Extended Query "
+                      "version %c.%c.\n",  extp->MajorVersion,
+                      extp->MinorVersion);
index 3f4f777..dbfa580 100644 (file)
@@ -221,6 +221,7 @@ SRC_URI_append_mx31phy = " \
            file://linux-2.6.19.2-i2c_fix.patch;patch=1 \
            file://linux-2.6.19.2-clock_fix.patch;patch=1 \
            file://linux-2.6.19.2-ipu_rgb_fix.patch;patch=1 \
+           file://nor-query-table-fix.patch;patch=1 \
            "
 
 S = "${WORKDIR}/linux-2.6.19.2"