summaryrefslogtreecommitdiffstats
path: root/w49f002u.c
diff options
context:
space:
mode:
Diffstat (limited to 'w49f002u.c')
-rw-r--r--w49f002u.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/w49f002u.c b/w49f002u.c
index b7fca6b73..3144ebd39 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");