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 | 79e6757d269b91ee759bd569df7093225f4f3715 (patch) | |
tree | d77c280e33ab45e549d2b7493eab7bf50da57d53 /82802ab.c | |
parent | 184b95f449e4c314964b63c3170da216267d3b5e (diff) | |
download | flashrom-79e6757d269b91ee759bd569df7093225f4f3715.tar.gz flashrom-79e6757d269b91ee759bd569df7093225f4f3715.tar.bz2 flashrom-79e6757d269b91ee759bd569df7093225f4f3715.zip |
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.
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>
Tested-by: Maciej Pijanka <maciej.pijanka@gmail.com>
Tested-by: Idwer Vollering <vidwer@gmail.com>
Acked-by: Idwer Vollering <vidwer@gmail.com>
Tested-by: Sean Nelson <audiohacked@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); |