diff options
author | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-07-13 23:56:13 +0000 |
---|---|---|
committer | hailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2010-07-13 23:56:13 +0000 |
commit | e8db2112db803b2c94a9fb55b136ebebda08c1ce (patch) | |
tree | 5293ae58a44e75e42fb55619094e31f3f2b263e3 /bitbang_spi.c | |
parent | d69b611a02a79000899ff6890da7d9f5d22833e4 (diff) | |
download | flashrom-e8db2112db803b2c94a9fb55b136ebebda08c1ce.tar.gz |
Print an error message on read errors and abort instead of proceeding
anyway.
Improve error checking in file write, chip read and chip verify.
Refactor the read routines a bit to split reading from file writing.
Log for a failed read:
[...]
Found chip "Winbond W25x16" (2048 KB, SPI) at physical address
0xffe00000.
Reading flash... Invalid OPCODE 0x03
Read operation failed!
FAILED.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-By: Stephen Kou <stephen@hyarros.com>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1079 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'bitbang_spi.c')
0 files changed, 0 insertions, 0 deletions