mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
Re-add a line which got deleted in r473 by accident
Corresponding to flashrom svn r475. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
This commit is contained in:
parent
deeebe2df1
commit
f160a12938
@ -236,6 +236,8 @@ int erase_flash(struct flashchip *flash)
|
||||
fprintf(stderr, "ERROR: flashrom has no erase function for this flash chip.\n");
|
||||
return 1;
|
||||
}
|
||||
flash->erase(flash);
|
||||
|
||||
if (!flash->read) {
|
||||
printf("FAILED!\n");
|
||||
fprintf(stderr, "ERROR: flashrom has no read function for this flash chip.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user