openwrt/target/linux/brcm47xx/patches-3.6/220-bcma-fix-detection-of-serial-flash-chips.patch
Hauke Mehrtens 981b7410f8 brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.

SVN-Revision: 34900
2012-12-27 19:18:40 +00:00

12 lines
381 B
Diff

--- 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 },