summaryrefslogtreecommitdiffstats
path: root/sst28sf040.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-10-08 20:29:57 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2010-10-08 20:29:57 +0000
commitb28349f8bc40dd55524113e258b3185711e80366 (patch)
treea4280b2c5eca9bb4cb8b767dc04bf8aaa0b6807f /sst28sf040.c
parentf52f784bb300ec0acbd6c6bd9e6c3e5b435c4a90 (diff)
downloadast2050-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 'sst28sf040.c')
-rw-r--r--sst28sf040.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sst28sf040.c b/sst28sf040.c
index 9ba0541..d81f831 100644
--- a/sst28sf040.c
+++ b/sst28sf040.c
@@ -120,15 +120,11 @@ int write_28sf040(struct flashchip *flash, uint8_t *buf)
unprotect_28sf040(bios);
- 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_sector_28sf040(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");
protect_28sf040(bios);
OpenPOWER on IntegriCloud