mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 07:23:43 +02:00
Look at the return value of wait_82802ab()
Corresponding to flashrom svn r1347. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
This commit is contained in:
parent
1d233075e6
commit
e8a648d143
@ -68,6 +68,7 @@ int erase_sector_49lfxxxc(struct flashchip *flash, unsigned int address, unsigne
|
|||||||
chip_writeb(0xD0, bios + address);
|
chip_writeb(0xD0, bios + address);
|
||||||
|
|
||||||
status = wait_82802ab(flash);
|
status = wait_82802ab(flash);
|
||||||
|
print_status_82802ab(status);
|
||||||
|
|
||||||
if (check_erased_range(flash, address, sector_size)) {
|
if (check_erased_range(flash, address, sector_size)) {
|
||||||
msg_cerr("ERASE FAILED!\n");
|
msg_cerr("ERASE FAILED!\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user