aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2012-12-27 19:18:40 +0000
committerHauke Mehrtens <hauke@openwrt.org>2012-12-27 19:18:40 +0000
commit1c1842cb5d509eca8480a90a036add10d4d041d2 (patch)
treecf0c701d8456161674884e5082c8cd3678eadfa5 /target/linux/brcm47xx
parent29e5082560c2a5203ac466d09e670e5cacaf5844 (diff)
downloadupstream-1c1842cb5d509eca8480a90a036add10d4d041d2.tar.gz
upstream-1c1842cb5d509eca8480a90a036add10d4d041d2.tar.bz2
upstream-1c1842cb5d509eca8480a90a036add10d4d041d2.zip
brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34900 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm47xx')
-rw-r--r--target/linux/brcm47xx/patches-3.6/220-bcma-fix-detection-of-serial-flash-chips.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/brcm47xx/patches-3.6/220-bcma-fix-detection-of-serial-flash-chips.patch b/target/linux/brcm47xx/patches-3.6/220-bcma-fix-detection-of-serial-flash-chips.patch
new file mode 100644
index 0000000000..156771216d
--- /dev/null
+++ b/target/linux/brcm47xx/patches-3.6/220-bcma-fix-detection-of-serial-flash-chips.patch
@@ -0,0 +1,11 @@
+--- a/drivers/bcma/driver_chipcommon_sflash.c
++++ b/drivers/bcma/driver_chipcommon_sflash.c
+@@ -42,7 +42,7 @@ static const struct bcma_sflash_tbl_e bc
+ { "M25P40", 0x12, 0x10000, 8, },
+
+ { "M25P16", 0x14, 0x10000, 32, },
+- { "M25P32", 0x14, 0x10000, 64, },
++ { "M25P32", 0x15, 0x10000, 64, },
+ { "M25P64", 0x16, 0x10000, 128, },
+ { "M25FL128", 0x17, 0x10000, 256, },
+ { 0 },