diff options
author | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2012-08-13 16:33:04 +0000 |
---|---|---|
committer | stefanct <stefanct@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1> | 2012-08-13 16:33:04 +0000 |
commit | d421f26ca6d6fc0f88f70d828d97028d3b382213 (patch) | |
tree | 157aebff0e3bd702eddb8b5b79bd428b02b46a0c /hwaccess.c | |
parent | 0476fe09acd1b4a66613083f12a1b130237c1eaa (diff) | |
download | flashrom-d421f26ca6d6fc0f88f70d828d97028d3b382213.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.
Signed-off-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
Acked-by: Stefan Tauner <stefan.tauner@student.tuwien.ac.at>
git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@1571 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'hwaccess.c')
0 files changed, 0 insertions, 0 deletions