diff options
author | Sean Nelson <audiohacked@gmail.com> | 2010-02-27 18:01:15 +0000 |
---|---|---|
committer | Sean Nelson <audiohacked@gmail.com> | 2010-02-27 18:01:15 +0000 |
commit | 26aea314d2e27e2e5eb55738f84f6ed4377a24a9 (patch) | |
tree | 273e78887f6dd10e549c774e4e3b610d6dce1aeb /flashchips.c | |
parent | 507d6c5d46d9b5b40e55ba44cc51575020a280b8 (diff) | |
download | flashrom-26aea314d2e27e2e5eb55738f84f6ed4377a24a9.zip flashrom-26aea314d2e27e2e5eb55738f84f6ed4377a24a9.tar.gz |
Since we have a unlock interface for chips, I think we can convert the remaining references to *_49fl00x
Now the only remaining and used function in pm49fl00x.c is unlock_49fl00x.
Added missing unlock to AMIC A49LF040A. Added lock_49fl00x function;
Trivial change.
Corresponding to flashrom svn r917.
Signed-off-by: Sean Nelson <audiohacked@gmail.com>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flashchips.c')
-rw-r--r-- | flashchips.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/flashchips.c b/flashchips.c index 45e67c6..5005997 100644 --- a/flashchips.c +++ b/flashchips.c @@ -1306,7 +1306,8 @@ struct flashchip flashchips[] = { .block_erase = erase_chip_block_jedec, } }, - .write = write_49fl00x, + .unlock = unlock_49fl00x, + .write = write_jedec_1, .read = read_memmapped, }, @@ -3347,7 +3348,7 @@ struct flashchip flashchips[] = { } }, .unlock = unlock_49fl00x, - .write = write_49fl00x, + .write = write_jedec_1, .read = read_memmapped, }, @@ -3377,7 +3378,7 @@ struct flashchip flashchips[] = { } }, .unlock = unlock_49fl00x, - .write = write_49fl00x, + .write = write_jedec_1, .read = read_memmapped, }, |