Signed-off-by: Stefan Tauner <[email protected]>
---

Chi, can you please retest yours with this patch applied with "-VV"
added to the command line? I am pretty sure that I know what
happened and that this is the right thing to do but seeing it
working is always nicer ;)

 flashchips.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/flashchips.c b/flashchips.c
index 16726ad..a807afc 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -2036,7 +2036,7 @@ const struct flashchip flashchips[] = {
                        }
                },
                .printlock      = spi_prettyprint_status_register_at25df,
-               .unlock         = spi_disable_blockprotect,
+               .unlock         = spi_disable_blockprotect_at25df,
                .write          = spi_chip_write_256,
                .read           = spi_chip_read,
                .voltage        = {2700, 3600},
@@ -2074,7 +2074,7 @@ const struct flashchip flashchips[] = {
                        }
                },
                .printlock      = spi_prettyprint_status_register_at26df081a,
-               .unlock         = spi_disable_blockprotect,
+               .unlock         = spi_disable_blockprotect_at25df,
                .write          = spi_chip_write_256,
                .read           = spi_chip_read,
                .voltage        = {2700, 3600},
-- 
Kind regards, Stefan Tauner


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

Reply via email to