diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-03-17 00:10:25 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-03-17 00:10:25 +0000 |
commit | eacbd1634d70d2516b793d8470f18cd6514cf3b1 (patch) | |
tree | ac6215697b2854550f7f0590294b8f8cbdd3f6da /processor_enable.c | |
parent | 97bc95ce2be4e17db150a83098673cedf5b50b40 (diff) | |
download | flashrom-eacbd1634d70d2516b793d8470f18cd6514cf3b1.tar.gz flashrom-eacbd1634d70d2516b793d8470f18cd6514cf3b1.tar.bz2 flashrom-eacbd1634d70d2516b793d8470f18cd6514cf3b1.zip |
Proper error handling for ICH/VIA SPI
Use 16-bit values for bit masks in 16-bit registers.
Check for SPI Cycle In Progress and wait up to 60 ms.
Do not touch reserved bits.
Reduce SPI cycle timeout from 60 s to 60 ms.
Clear transaction errors caused by our own SPI accesses.
Add better debugging in case the hardware misbehaves.
Corresponding to flashrom svn r1281.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'processor_enable.c')
0 files changed, 0 insertions, 0 deletions