summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Hendricks <dhendricks@fb.com>2018-03-11 17:29:49 -0700
committerDavid Hendricks <david.hendricks@gmail.com>2018-03-28 19:37:12 +0000
commitc699f5cde113377099d038234c1e46e7b928336f (patch)
treede4124ad4da2436bdde3f527b17b4239c2defa79
parentf5775448448d62c334a24618cd19692bb4a5f8a6 (diff)
downloadflashrom-c699f5cde113377099d038234c1e46e7b928336f.tar.gz
flashrom-c699f5cde113377099d038234c1e46e7b928336f.tar.bz2
flashrom-c699f5cde113377099d038234c1e46e7b928336f.zip
flashchips: W25Q80.W --> W25Q80BW
The W25Q80BW appears to have been succeeded by the W25Q80EW which has a different manufacturer ID but is otherwise similar. Consequently, W25Q80.W no longer matches all chips in this family. This patch makes the original entry specific to W25Q80BW. Change-Id: I2980272c2691eb62a68056a7a4c308e9b4810347 Signed-off-by: David Hendricks <dhendricks@fb.com> Reviewed-on: https://review.coreboot.org/25100 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--flashchips.c4
-rw-r--r--flashchips.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/flashchips.c b/flashchips.c
index f11bd393a..70057d490 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -15066,10 +15066,10 @@ const struct flashchip flashchips[] = {
{
.vendor = "Winbond",
- .name = "W25Q80.W",
+ .name = "W25Q80BW",
.bustype = BUS_SPI,
.manufacture_id = WINBOND_NEX_ID,
- .model_id = WINBOND_NEX_W25Q80_W,
+ .model_id = WINBOND_NEX_W25Q80BW,
.total_size = 1024,
.page_size = 256,
/* OTP: 256B total; read 0x48; write 0x42, erase 0x44, read ID 0x4B */
diff --git a/flashchips.h b/flashchips.h
index cf8e74a8f..68a67faa6 100644
--- a/flashchips.h
+++ b/flashchips.h
@@ -911,7 +911,7 @@
#define WINBOND_NEX_W25Q256_V 0x4019 /* W25Q256FV */
#define WINBOND_NEX_W25Q20_W 0x5012 /* W25Q20BW */
#define WINBOND_NEX_W25Q40_W 0x5013 /* W25Q40BW */
-#define WINBOND_NEX_W25Q80_W 0x5014 /* W25Q80BW */
+#define WINBOND_NEX_W25Q80BW 0x5014 /* W25Q80BW */
#define WINBOND_NEX_W25Q80EW 0x6014 /* W25Q80EW */
#define WINBOND_NEX_W25Q16_W 0x6015 /* W25Q16DW */
#define WINBOND_NEX_W25Q32_W 0x6016 /* W25Q32DW; W25Q32FV in QPI mode */