mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
Remove progress printing from individual flash chip drivers
Progress printing should be handled in the generic code, and will end up there once partial write is possible. Corresponding to flashrom svn r1207. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Sean Nelson <audiohacked@gmail.com>
This commit is contained in:
@ -84,16 +84,11 @@ int write_49lfxxxc(struct flashchip *flash, uint8_t *buf)
|
||||
chipaddr bios = flash->virtual_memory;
|
||||
|
||||
write_lockbits_49lfxxxc(flash, 0);
|
||||
msg_cinfo("Programming page: ");
|
||||
for (i = 0; i < total_size / page_size; i++) {
|
||||
|
||||
/* write to the sector */
|
||||
msg_cinfo("%04d at address: 0x%08x", i, i * page_size);
|
||||
write_page_82802ab(bios, buf + i * page_size,
|
||||
bios + i * page_size, page_size);
|
||||
msg_cinfo("\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");
|
||||
}
|
||||
msg_cinfo("\n");
|
||||
|
||||
chip_writeb(0xFF, bios);
|
||||
|
||||
|
Reference in New Issue
Block a user