summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2011-06-19 17:09:49 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2011-06-19 17:09:49 +0000
commite8a648d14367a1bb50f056805ce92c3dff97c159 (patch)
treec14ad71f47f1f81c4e3c19bcfa260d1315ba6e6f
parent1d233075e6cf69fa633fc3f0e5e1494298d551ad (diff)
downloadast2050-flashrom-e8a648d14367a1bb50f056805ce92c3dff97c159.zip
ast2050-flashrom-e8a648d14367a1bb50f056805ce92c3dff97c159.tar.gz
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>
-rw-r--r--sst49lfxxxc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c
index 046b9f3..392d7a8 100644
--- a/sst49lfxxxc.c
+++ b/sst49lfxxxc.c
@@ -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");
OpenPOWER on IntegriCloud