1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

Make SST49lf040 not clog the serial line too

Corresponding to flashrom svn r48 and coreboot v2 svn r2210.
This commit is contained in:
Stefan Reinauer 2006-03-17 22:35:56 +00:00
parent fcb63687da
commit 441edbf129

View File

@ -60,9 +60,12 @@ int write_49lf040(struct flashchip *flash, uint8_t *buf)
erase_sector_jedec(bios, i * page_size); erase_sector_jedec(bios, i * page_size);
/* write to the sector */ /* write to the sector */
if(i&0xfff==0xfff)
printf("%04d at address: 0x%08x ", i, i * page_size); printf("%04d at address: 0x%08x ", i, i * page_size);
write_sector_jedec(bios, buf + i * page_size, write_sector_jedec(bios, buf + i * page_size,
bios + i * page_size, page_size); bios + i * page_size, page_size);
if(i&0xfff==0xfff)
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"); 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");
fflush(stdout); fflush(stdout);
} }