From 2d32ba1604e96953e910b3a93fb02a58d62096da Mon Sep 17 00:00:00 2001 From: hailfinger Date: Fri, 8 Oct 2010 20:29:57 +0000 Subject: 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. Signed-off-by: Carl-Daniel Hailfinger Acked-by: Sean Nelson git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1207 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- 82802ab.c | 9 --------- 1 file changed, 9 deletions(-) (limited to '82802ab.c') diff --git a/82802ab.c b/82802ab.c index 1f3a668..3fec376 100644 --- a/82802ab.c +++ b/82802ab.c @@ -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; } -- cgit v1.2.1