1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 15:12:36 +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:
Stefan Reinauer 2011-06-19 17:09:49 +00:00 committed by Uwe Hermann
parent 1d233075e6
commit e8a648d143

View File

@ -68,6 +68,7 @@ int erase_sector_49lfxxxc(struct flashchip *flash, unsigned int address, unsigne
chip_writeb(0xD0, bios + address);
status = wait_82802ab(flash);
print_status_82802ab(status);
if (check_erased_range(flash, address, sector_size)) {
msg_cerr("ERASE FAILED!\n");