summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-27 19:18:40 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-27 19:18:40 +0000
commit73af5c02d51fdb5ff707650dcbd4ca2f61b119b8 (patch)
treecf0c701d8456161674884e5082c8cd3678eadfa5 /target/linux
parent0296ef38cba90c12c364e1c77127f70da9ea5206 (diff)
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')
-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 },