diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-10-13 21:49:30 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-10-13 21:49:30 +0000 |
commit | 20050cb40fedf0dd3b8112da6920248c686d3972 (patch) | |
tree | d77c280e33ab45e549d2b7493eab7bf50da57d53 /82802ab.c | |
parent | fe507f3b24e9bbae177147c5bf601268f2e3a52c (diff) | |
download | flashrom-20050cb40fedf0dd3b8112da6920248c686d3972.zip flashrom-20050cb40fedf0dd3b8112da6920248c686d3972.tar.gz |
Refactor remaining write wrappers
Kill duplicated code.
Annotate write functions with their chunk size.
Mark Fujitsu MBM29F400BC and ST M29F400BB as untested because their
write code no longer uses a broken layout.
Tested-by: Maciej Pijanka <maciej.pijanka@gmail.com>
Tested-by: Idwer Vollering <vidwer@gmail.com>
Tested-by: Sean Nelson <audiohacked@gmail.com>
Corresponding to flashrom svn r1210.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to '82802ab.c')
-rw-r--r-- | 82802ab.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -160,6 +160,7 @@ int write_page_82802ab(struct flashchip *flash, uint8_t *src, int start, int len return 0; } +/* chunksize is 1 */ int write_82802ab(struct flashchip *flash, uint8_t *buf) { return write_page_82802ab(flash, buf, 0, flash->total_size * 1024); |