Unlocking for W39V040FA
Corresponding to flashrom svn r1018.
Signed-off-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
diff --git a/flashchips.c b/flashchips.c
index 45f4076..2e3c26e 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -6086,7 +6086,7 @@
.model_id = W_39V040FA,
.total_size = 512,
.page_size = 64 * 1024,
- .feature_bits = FEATURE_EITHER_RESET,
+ .feature_bits = FEATURE_REGISTERMAP | FEATURE_EITHER_RESET,
.tested = TEST_UNTESTED,
.probe = probe_jedec,
.probe_timing = 10,
@@ -6103,6 +6103,8 @@
.block_erase = erase_chip_block_jedec,
}
},
+ .printlock = printlock_sst_fwhub,
+ .unlock = unlock_sst_fwhub,
.write = write_jedec_1,
.read = read_memmapped,
},