summaryrefslogtreecommitdiff
path: root/hwaccess.h
diff options
context:
space:
mode:
authorhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-03-17 00:10:25 +0000
committerhailfinger <hailfinger@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2011-03-17 00:10:25 +0000
commit855515ffc96c80b23199af0e3dfb42956dfd3c1c (patch)
treeac6215697b2854550f7f0590294b8f8cbdd3f6da /hwaccess.h
parentb4fdc4bf4b80579f3f0dde4c2b801f65dd24234b (diff)
downloadflashrom-855515ffc96c80b23199af0e3dfb42956dfd3c1c.tar.gz
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. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1281 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'hwaccess.h')
0 files changed, 0 insertions, 0 deletions