mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 07:42:48 +02:00
[kernel] use AMD standard command-set with winbond flash chips (#6966), patch from obinou
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21333 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7d292304ac
commit
865fd07795
@ -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
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user