1
0
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:
Carl-Daniel Hailfinger
2010-10-08 20:29:57 +00:00
parent f52f784bb3
commit b28349f8bc
7 changed files with 0 additions and 70 deletions

View File

@ -139,7 +139,6 @@ int erase_block_82802ab(struct flashchip *flash, unsigned int page, unsigned int
msg_cerr("ERASE FAILED!\n");
return -1;
}
msg_cinfo("DONE BLOCK 0x%x\n", page);
return 0;
}
@ -162,18 +161,10 @@ int write_82802ab(struct flashchip *flash, uint8_t *buf)
int i;
chipaddr bios = flash->virtual_memory;
msg_cinfo("Programming at: ");
for (i = 0; i < flash->total_size; i++) {
if ((i & 0x3) == 0)
msg_cinfo("address: 0x%08lx", (unsigned long)i * 1024);
write_page_82802ab(bios, buf + i * 1024, bios + i * 1024, 1024);
if ((i & 0x3) == 0)
msg_cinfo("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b");
}
msg_cinfo("DONE!\n");
return 0;
}