diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-09-16 08:26:59 +0000 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2009-09-16 08:26:59 +0000 |
commit | ab044b20a2b44097ce65c3fd4f232ee7170303ba (patch) | |
tree | 4d4e3556312edc4be7fc90d073a2fbb79d86d687 /sb600spi.c | |
parent | 9e72aa51a7a9ac5f041bacab75fd4be1e2a3356c (diff) | |
download | ast2050-flashrom-ab044b20a2b44097ce65c3fd4f232ee7170303ba.zip ast2050-flashrom-ab044b20a2b44097ce65c3fd4f232ee7170303ba.tar.gz |
Fix all remaining issues reported by LLVM/clang's scan-build
Corresponding to flashrom svn r723.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'sb600spi.c')
-rw-r--r-- | sb600spi.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -64,6 +64,11 @@ int sb600_spi_write_1(struct flashchip *flash, uint8_t *buf) printf("Programming flash"); for (i = 0; i < total_size; i++, buf++) { result = spi_byte_program(i, *buf); + if (result) { + // spi_byte_program reported the error for us already + printf_debug("... continuing anyway.\n"); + } + /* wait program complete. */ if (i % 0x8000 == 0) printf("."); |