summaryrefslogtreecommitdiffstats
path: root/sharplhf00l04.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-10-17 23:55:15 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-10-17 23:55:15 +0000
commita502dcea3df45326898b99dc9f5f3744a776339d (patch)
tree9746755cc3c75130ac3a05755ebbbcaff8fd81f3 /sharplhf00l04.c
parentdca0ab18840775e1d423faff55045066344ccb87 (diff)
downloadast2050-flashrom-a502dcea3df45326898b99dc9f5f3744a776339d.zip
ast2050-flashrom-a502dcea3df45326898b99dc9f5f3744a776339d.tar.gz
Some cosmetic cleanups in the flashrom code and output
Corresponding to flashrom svn r151 and coreboot v2 svn r2873. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de>
Diffstat (limited to 'sharplhf00l04.c')
-rw-r--r--sharplhf00l04.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sharplhf00l04.c b/sharplhf00l04.c
index 3bfcb70..da7dc3f 100644
--- a/sharplhf00l04.c
+++ b/sharplhf00l04.c
@@ -164,10 +164,10 @@ int write_lhf00l04(struct flashchip *flash, uint8_t *buf)
erase_lhf00l04(flash);
if (*bios != 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_lhf00l04(bios, buf + i * page_size,
OpenPOWER on IntegriCloud