Some cosmetic cleanups in the flashrom code and output.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2873 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Uwe Hermann
2007-10-17 23:55:15 +00:00
parent 7dabe5ea0d
commit dcb9abdf4c
20 changed files with 48 additions and 49 deletions

View File

@ -169,10 +169,10 @@ int write_md2802(struct flashchip *flash, uint8_t *buf)
return (1);
erase_md2802(flash);
if (*bios != (uint8_t) 0xff) {
printf("ERASE FAILED\n");
printf("ERASE FAILED!\n");
return -1;
}
printf("Programming Page: ");
printf("Programming page: ");
for (i = 0; i < total_size / page_size; i++) {
printf("%04d at address: 0x%08x", i, i * page_size);
//write_page_md2802(bios, buf + i * page_size, bios + i * page_size, page_size);