summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.34/088-winbond_cmdset.patch
blob: d4e42b0aa2ddffa1bb71ffa47ca28bc63e1d28a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
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