Kapil Porwal has uploaded this change for review.
flashchips.c: Add reg_bits for W25Q512NW-IM
BUG=none
TEST=TBD
Signed-off-by: Kapil Porwal <kapilporwal@google.com>
Change-Id: I97c24682bb0c8ea67ef5617567cd99f6526ba2da
---
M flashchips.c
1 file changed, 23 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/48/70548/1
diff --git a/flashchips.c b/flashchips.c
index 6f65389..cf47520 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -18674,7 +18674,7 @@
.model_id = WINBOND_NEX_W25Q512NW_IM,
.total_size = 64 * 1024,
.page_size = 256,
- .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA,
+ .feature_bits = FEATURE_WRSR_WREN | FEATURE_OTP | FEATURE_4BA | FEATURE_WRSR2,
.tested = TEST_OK_PREW,
.probe = PROBE_SPI_RDID,
.probe_timing = TIMING_ZERO,
@@ -18707,6 +18707,15 @@
.write = SPI_CHIP_WRITE256,
.read = SPI_CHIP_READ,
.voltage = {1650, 1950},
+ .reg_bits =
+ {
+ .srp = {STATUS1, 7, RW},
+ .srl = {STATUS2, 0, RW},
+ .bp = {{STATUS1, 2, RW}, {STATUS1, 3, RW}, {STATUS1, 4, RW}, {STATUS1, 5, RW}},
+ .tb = {STATUS1, 6, RW},
+ .cmp = {STATUS2, 6, RW},
+ },
+ .decode_range = DECODE_RANGE_SPI25,
},
{
To view, visit change 70548. To unsubscribe, or for help writing mail filters, visit settings.