[flashrom] [PATCH] Use correct unlocking function for Atmel AT26DF161 and AT26DF161A.
Stefan Tauner
stefan.tauner at student.tuwien.ac.at
Tue Apr 2 22:50:58 CEST 2013
Signed-off-by: Stefan Tauner <stefan.tauner at student.tuwien.ac.at>
---
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
More information about the flashrom
mailing list