From 24f9fbe075107b58a2729a8f5d7da346ebe730e6 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 12 May 2009 14:06:04 +0000 Subject: Unify write_39sf020() and write_49f002() functions The write_39sf020() and write_49f002() functions are identical except for whitespace differences, so drop one of them. Corresponding to flashrom svn r497. Signed-off-by: Uwe Hermann Acked-by: Carl-Daniel Hailfinger --- w49f002u.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'w49f002u.c') diff --git a/w49f002u.c b/w49f002u.c index b7fca6b7..3144ebd3 100644 --- a/w49f002u.c +++ b/w49f002u.c @@ -32,8 +32,8 @@ int write_49f002(struct flashchip *flash, uint8_t *buf) printf("Programming page: "); for (i = 0; i < total_size / page_size; i++) { - /* write to the sector */ printf("%04d at address: 0x%08x ", i, i * page_size); + /* Byte-wise writing of 'page_size' bytes. */ write_sector_jedec(bios, buf + i * page_size, bios + i * page_size, page_size); printf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); -- cgit v1.2.3