diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-10-08 20:29:57 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-10-08 20:29:57 +0000 |
commit | b28349f8bc40dd55524113e258b3185711e80366 (patch) | |
tree | a4280b2c5eca9bb4cb8b767dc04bf8aaa0b6807f /sharplhf00l04.c | |
parent | f52f784bb300ec0acbd6c6bd9e6c3e5b435c4a90 (diff) | |
download | ast2050-flashrom-b28349f8bc40dd55524113e258b3185711e80366.zip ast2050-flashrom-b28349f8bc40dd55524113e258b3185711e80366.tar.gz |
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>
Diffstat (limited to 'sharplhf00l04.c')
-rw-r--r-- | sharplhf00l04.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sharplhf00l04.c b/sharplhf00l04.c index ab1652d..d291573 100644 --- a/sharplhf00l04.c +++ b/sharplhf00l04.c @@ -33,7 +33,6 @@ int erase_lhf00l04_block(struct flashchip *flash, unsigned int blockaddr, unsign // clear status register chip_writeb(0x50, bios); - msg_cdbg("Erase at 0x%lx\n", bios); status = wait_82802ab(flash->virtual_memory); print_status_82802ab(status); // clear write protect @@ -49,7 +48,6 @@ int erase_lhf00l04_block(struct flashchip *flash, unsigned int blockaddr, unsign // now let's see what the register is status = wait_82802ab(flash->virtual_memory); print_status_82802ab(status); - msg_cinfo("DONE BLOCK 0x%x\n", blockaddr); if (check_erased_range(flash, blockaddr, blocklen)) { msg_cerr("ERASE FAILED!\n"); @@ -65,14 +63,10 @@ int write_lhf00l04(struct flashchip *flash, uint8_t *buf) int page_size = flash->page_size; chipaddr bios = flash->virtual_memory; - msg_cinfo("Programming page: "); for (i = 0; i < total_size / page_size; i++) { - 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"); return 0; } |