summaryrefslogtreecommitdiffstats
path: root/flashchips.h
diff options
context:
space:
mode:
authorStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-08-13 16:33:04 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-08-13 16:33:04 +0000
commit8a38b0aa52340ac779e3bcfbae723aa28b40ad8c (patch)
tree157aebff0e3bd702eddb8b5b79bd428b02b46a0c /flashchips.h
parentff457825b06e5eaee3741442c840eb7d31649710 (diff)
downloadflashrom-8a38b0aa52340ac779e3bcfbae723aa28b40ad8c.zip
flashrom-8a38b0aa52340ac779e3bcfbae723aa28b40ad8c.tar.gz
serprog: Add support for setting the SPI frequency
Introduce a new opcode (0x14) that sends the requested frequency as a 32b long value in Hertz to the programmer and receives the frequency eventually chosen by the programmer. The user can specify this with the programmer parameter "spispeed" (named after the similar parameter for the buspirate) including an optional suffix of 'M' or 'k' for specifying megahertz or kilohertz respectively (lowercase suffixes are also accepted). Thanks to Idwer and Uwe (and maybe others) for their feedback especially regarding the unit of frequency to use. Corresponding to flashrom svn r1571. Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashchips.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud