From 31548bfe2b3fdbccc5d22540a8476d75d370692b Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 3 May 2010 09:03:14 +0000 Subject: use AMD standard command-set with winbond flash chips (#6966), patch from obinou SVN-Revision: 21333 --- .../generic-2.6/patches-2.6.32/088-winbond_cmdset.patch | 12 ++++++++++++ .../generic-2.6/patches-2.6.33/088-winbond_cmdset.patch | 12 ++++++++++++ .../generic-2.6/patches-2.6.34/088-winbond_cmdset.patch | 12 ++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 target/linux/generic-2.6/patches-2.6.32/088-winbond_cmdset.patch create mode 100644 target/linux/generic-2.6/patches-2.6.33/088-winbond_cmdset.patch create mode 100644 target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch (limited to 'target') diff --git a/target/linux/generic-2.6/patches-2.6.32/088-winbond_cmdset.patch b/target/linux/generic-2.6/patches-2.6.32/088-winbond_cmdset.patch new file mode 100644 index 0000000000..d4e42b0aa2 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.32/088-winbond_cmdset.patch @@ -0,0 +1,12 @@ +Index: linux-2.6.32.12/drivers/mtd/chips/gen_probe.c +=================================================================== +--- linux-2.6.32.12.orig/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:00.000000000 +0200 ++++ linux-2.6.32.12/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:16.000000000 +0200 +@@ -249,6 +249,7 @@ + #endif + #ifdef CONFIG_MTD_CFI_AMDSTD + case 0x0002: ++ case 0x0006: + return cfi_cmdset_0002(map, primary); + #endif + #ifdef CONFIG_MTD_CFI_STAA diff --git a/target/linux/generic-2.6/patches-2.6.33/088-winbond_cmdset.patch b/target/linux/generic-2.6/patches-2.6.33/088-winbond_cmdset.patch new file mode 100644 index 0000000000..d4e42b0aa2 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.33/088-winbond_cmdset.patch @@ -0,0 +1,12 @@ +Index: linux-2.6.32.12/drivers/mtd/chips/gen_probe.c +=================================================================== +--- linux-2.6.32.12.orig/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:00.000000000 +0200 ++++ linux-2.6.32.12/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:16.000000000 +0200 +@@ -249,6 +249,7 @@ + #endif + #ifdef CONFIG_MTD_CFI_AMDSTD + case 0x0002: ++ case 0x0006: + return cfi_cmdset_0002(map, primary); + #endif + #ifdef CONFIG_MTD_CFI_STAA diff --git a/target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch b/target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch new file mode 100644 index 0000000000..d4e42b0aa2 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch @@ -0,0 +1,12 @@ +Index: linux-2.6.32.12/drivers/mtd/chips/gen_probe.c +=================================================================== +--- linux-2.6.32.12.orig/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:00.000000000 +0200 ++++ linux-2.6.32.12/drivers/mtd/chips/gen_probe.c 2010-05-03 10:48:16.000000000 +0200 +@@ -249,6 +249,7 @@ + #endif + #ifdef CONFIG_MTD_CFI_AMDSTD + case 0x0002: ++ case 0x0006: + return cfi_cmdset_0002(map, primary); + #endif + #ifdef CONFIG_MTD_CFI_STAA -- cgit v1.2.3