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 <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
diff --git a/w49f002u.c b/w49f002u.c
index b7fca6b..3144ebd 100644
--- a/w49f002u.c
+++ b/w49f002u.c
@@ -32,8 +32,8 @@
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");