diff options
author | Li-Ta Lo <ollie@lanl.gov> | 2004-03-27 00:18:15 +0000 |
---|---|---|
committer | Li-Ta Lo <ollie@lanl.gov> | 2004-03-27 00:18:15 +0000 |
commit | 39daaac582766e94a6f2f8ad00900e623d514d7a (patch) | |
tree | cc57154b046ac9a4c48c92f275b3ca2cb7169142 /util/flash_and_burn/sst49lf040.c | |
parent | 4cd79f3f86e5b57419932917750b022989e36b0c (diff) | |
download | coreboot-39daaac582766e94a6f2f8ad00900e623d514d7a.tar.xz |
removed false alarm of erase/write, use verify '-v' if you are not sure about the integrity
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1486 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flash_and_burn/sst49lf040.c')
-rw-r--r-- | util/flash_and_burn/sst49lf040.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/util/flash_and_burn/sst49lf040.c b/util/flash_and_burn/sst49lf040.c index f18e733e7a..624a8655ef 100644 --- a/util/flash_and_burn/sst49lf040.c +++ b/util/flash_and_burn/sst49lf040.c @@ -33,8 +33,8 @@ int write_49lf040(struct flashchip *flash, unsigned char *buf) { int i; - int total_size = flash->total_size * 1024, page_size = - flash->page_size; + int total_size = flash->total_size * 1024; + int page_size = flash->page_size; volatile char *bios = flash->virt_addr; printf("Programming Page: "); @@ -48,8 +48,7 @@ int write_49lf040(struct flashchip *flash, unsigned char *buf) printf("%04d at address: 0x%08x ", i, i * page_size); write_sector_jedec(bios, buf + i * page_size, bios + i * page_size, page_size); - printf - ("\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\b"); + printf("\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\b"); fflush(stdout); } printf("\n"); |