summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-09-15 14:17:39 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2013-09-15 14:17:39 +0000
commita6a0d2000a1197e90faaf8d9e7697c96f1deb934 (patch)
treeedbcfbcc9921b732f9c69f2d72e20e184ec2b4b4 /flash.h
parent949ccc8a7ed2a7ad075103e064ad92483ffa8720 (diff)
downloadast2050-flashrom-a6a0d2000a1197e90faaf8d9e7697c96f1deb934.zip
ast2050-flashrom-a6a0d2000a1197e90faaf8d9e7697c96f1deb934.tar.gz
sbxxx: Set SPI clock to 16.5 MHz and disable fast reads
Do not rely on broken firmware to set up the SPI configuration correctly. Some boards fail with flashrom because the firmware chose too high speeds for the alternate SPI mode which flashrom uses. Temporarily change the clock to the lowest common value of 16.5 MHz. Also, disable fast reads just to be safe. Corresponding to flashrom svn r1750. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'flash.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud