Skip to contentSkip to conversation

[3.8?] bcma: correct M25P32 serial flash ID

PATCH In review Rafał Miłecki 2 participants 2 messages Dec 25, 2012 – Dec 26, 2012 Broadcom specific amba driver (bcma)

lore
Share & tools
lore

Rafał Miłecki

author maintainer
#0 lore raw

PATCH 1/1 [3.8?] bcma: correct M25P32 serial flash ID

---
John: it's trivial, you may want to take it for fixes (3.8). I leave it up to you. Noticed it while working on ssb.

---
 drivers/bcma/driver_chipcommon_sflash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/bcma/driver_chipcommon_sflash.c +1 -1
index 63e6883..1e694db 100644
@@ -35,7 +35,7 @@ static struct bcma_sflash_tbl_e bcma_sflash_st_tbl[] = {
 	{ "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 },
Signature · 1 line
1.7.7
Acked-by on v1 1/1
#1 lore raw
Quoted 2 lines · Rafał Miłecki

I already saw a bug report on the OpenWrt mailing list because of this problem:
http://permalink.gmane.org/gmane.comp.embedded.openwrt.devel/16944

Quoted 21 lines

---
John: it's trivial, you may want to take it for fixes (3.8). I leave it up to you. Noticed it while working on ssb.

---
 drivers/bcma/driver_chipcommon_sflash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/bcma/driver_chipcommon_sflash.c +1 -1
index 63e6883..1e694db 100644
@@ -35,7 +35,7 @@ static struct bcma_sflash_tbl_e bcma_sflash_st_tbl[] = {
 	{ "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 },