brcm47xx: bcma: correct M25P32 serial flash ID
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 27 Dec 2012 19:18:40 +0000 (19:18 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 27 Dec 2012 19:18:40 +0000 (19:18 +0000)
Thank you Rafał Miłecki.

SVN-Revision: 34900

target/linux/brcm47xx/patches-3.6/220-bcma-fix-detection-of-serial-flash-chips.patch [new file with mode: 0644]

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 (file)
index 0000000..1567712
--- /dev/null
@@ -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 },