Просмотр исходного кода

brcm47xx: bcma: correct M25P32 serial flash ID

Thank you Rafał Miłecki.

SVN-Revision: 34900
Hauke Mehrtens 13 лет назад
Родитель
Сommit
981b7410f8

+ 11 - 0
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 },