diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-01-18 08:14:43 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-01-18 08:14:43 +0000 |
commit | 293adf0242cdbeb66eb8127c557381027c310ae0 (patch) | |
tree | 455859d48819fc3681ea71ad43fd56420c22aa17 /flashchips.c | |
parent | 26f72a14f3ef7c77ac3a00e676d597bbf829ccfc (diff) | |
download | flashrom-293adf0242cdbeb66eb8127c557381027c310ae0.tar.gz flashrom-293adf0242cdbeb66eb8127c557381027c310ae0.tar.bz2 flashrom-293adf0242cdbeb66eb8127c557381027c310ae0.zip |
Do sanity checks of block erasers at startup and continue check on errors
Flashrom performs a self-check on every startup before it even starts to
initialize any programmer.
That way, compiler errors and code errors will be caught before they can
do any harm. This patch adds an eraseblock structure self-check. It also
modifies the self-check code to consistently run all checks even if one
check failed.
Corresponding to flashrom svn r864.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Sean Nelson <audiohacked@gmail.com>
Diffstat (limited to 'flashchips.c')
0 files changed, 0 insertions, 0 deletions