Now added the missing "REGISTERMAP" feature.

---
 flashchips.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/flashchips.c b/flashchips.c
index 10c0989..d51c2bf 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -6080,35 +6080,37 @@ struct flashchip flashchips[] = {
 
        {
                .vendor         = "Winbond",
                .name           = "W39V040FA",
                .bustype        = CHIP_BUSTYPE_FWH,
                .manufacture_id = WINBOND_ID,
                .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, 
                .block_erasers  =
                {
                        {
                                .eraseblocks = { {4 * 1024, 128} },
                                .block_erase = erase_block_jedec,
                        }, {
                                .eraseblocks = { {64 * 1024, 8} },
                                .block_erase = erase_sector_jedec,
                        }, {
                                .eraseblocks = { {512 * 1024, 1} },
                                .block_erase = erase_chip_block_jedec,
                        }
                },
+               .printlock      = printlock_sst_fwhub,
+               .unlock         = unlock_sst_fwhub,
                .write          = write_jedec_1,
                .read           = read_memmapped,
        },
 
        {
                .vendor         = "Winbond",
                .name           = "W39V080A",
                .bustype        = CHIP_BUSTYPE_LPC,
                .manufacture_id = WINBOND_ID,
-- 
1.7.1


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to