mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
Cosmetic fixes
Corresponding to flashrom svn r130 and coreboot v2 svn r2748. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
@ -56,7 +56,7 @@ int erase_sst_fwhub_block(struct flashchip *flash, int offset)
|
||||
erase_block_jedec(flash->virtual_memory, offset);
|
||||
toggle_ready_jedec(flash->virtual_memory);
|
||||
|
||||
return (0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int erase_sst_fwhub(struct flashchip *flash)
|
||||
@ -66,7 +66,8 @@ int erase_sst_fwhub(struct flashchip *flash)
|
||||
|
||||
for (i = 0; i < total_size; i += flash->page_size)
|
||||
erase_sst_fwhub_block(flash, i);
|
||||
return (0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int write_sst_fwhub(struct flashchip *flash, uint8_t *buf)
|
||||
@ -95,5 +96,6 @@ int write_sst_fwhub(struct flashchip *flash, uint8_t *buf)
|
||||
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");
|
||||
}
|
||||
printf("\n");
|
||||
return (0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user