summaryrefslogtreecommitdiffstats
path: root/physmap.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-03-17 00:10:25 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-03-17 00:10:25 +0000
commiteacbd1634d70d2516b793d8470f18cd6514cf3b1 (patch)
treeac6215697b2854550f7f0590294b8f8cbdd3f6da /physmap.c
parent97bc95ce2be4e17db150a83098673cedf5b50b40 (diff)
downloadast2050-flashrom-eacbd1634d70d2516b793d8470f18cd6514cf3b1.zip
ast2050-flashrom-eacbd1634d70d2516b793d8470f18cd6514cf3b1.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. 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 'physmap.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud