From 16cdcc5122be1bb2e334292fc4e473597877c0fa Mon Sep 17 00:00:00 2001 From: hailfinger Date: Wed, 13 Oct 2010 21:49:30 +0000 Subject: 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. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Uwe Hermann Tested-by: Maciej Pijanka Tested-by: Idwer Vollering Acked-by: Idwer Vollering Tested-by: Sean Nelson Acked-by: Sean Nelson git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1210 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- 82802ab.c | 1 + 1 file changed, 1 insertion(+) (limited to '82802ab.c') diff --git a/82802ab.c b/82802ab.c index 2600642..57b3363 100644 --- a/82802ab.c +++ b/82802ab.c @@ -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); -- cgit v1.2.1