[flashrom] [PATCH 2/2] fixup! Add support for Atmel AT49LH004.
Stefan Tauner
stefan.tauner at alumni.tuwien.ac.at
Thu Jun 12 16:17:22 CEST 2014
Signed-off-by: Stefan Tauner <stefan.tauner at alumni.tuwien.ac.at>
---
Not for merge.
This is to make the life easier for the user when applying today's patches.
flashchips.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/flashchips.c b/flashchips.c
index 01bc3df..821e339 100644
--- a/flashchips.c
+++ b/flashchips.c
@@ -3070,8 +3070,8 @@ const struct flashchip flashchips[] = {
.block_erase = erase_block_82802ab,
},
},
- .printlock = NULL, /* TODO */
- .unlock = NULL, /* TODO: something like unlock_82802ab() but working on the sector eraser blocks. */
+ .printlock = printlock_regspace2_block_eraser_0,
+ .unlock = unlock_regspace2_block_eraser_0,
.write = write_82802ab,
.read = read_memmapped,
.voltage = {3000, 3600},
@@ -3106,8 +3106,8 @@ const struct flashchip flashchips[] = {
.block_erase = NULL, /* TODO: Implement. */
},
},
- .printlock = NULL, /* TODO */
- .unlock = NULL, /* TODO: something like unlock_82802ab() but working on the sector eraser blocks. */
+ .printlock = printlock_regspace2_block_eraser_0,
+ .unlock = unlock_regspace2_block_eraser_0,
.write = write_82802ab,
.read = read_memmapped,
.voltage = {3000, 3600},
--
Kind regards, Stefan Tauner
More information about the flashrom
mailing list