diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-10-05 19:19:48 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2010-10-05 19:19:48 +0000 |
commit | 7473ea5c9346894defb1faa58479c59e3d949e06 (patch) | |
tree | 3afd6eb249cef317102a30bf39abcbbf83aa2982 /flashrom.8 | |
parent | 91a52bc90f79285af9ec5bc6b5832d34c56ca694 (diff) | |
download | flashrom-7473ea5c9346894defb1faa58479c59e3d949e06.zip flashrom-7473ea5c9346894defb1faa58479c59e3d949e06.tar.gz |
Speed up RayeR SPIPGM driver in flashrom by a factor of 2
Allow specification of an alternate base address with
flashrom -p rayer_spi:iobase=0x278
Any base address is allowed as long as it is nonzero, below 65536 and a
multiple of four.
Read speed is now on par with original spipgm.exe.
Tested-by: Martin Rehak <rayer@seznam.cz>
Corresponding to flashrom svn r1188.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
Diffstat (limited to 'flashrom.8')
-rw-r--r-- | flashrom.8 | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -397,7 +397,19 @@ can be any of (in Hz). The default is the maximum frequency of 8 MHz. .TP .BR "rayer_spi " programmer -No parameters defined yet. More information about the hardware is available at +The default I/O base address used for the parallel port is 0x378 and you can use +the optional +.B iobase +parameter to specify an alternate base I/O address with the +.sp +.B " flashrom \-p rayer_spi:iobase=baseaddr" +.sp +syntax where +.B baseaddr +is base I/O port address of the parallel port, which must be a multiple of +four. Make sure to not forget the "0x" prefix for hexadecimal port addresses. +.sp +More information about the hardware is available at http://rayer.ic.cz/elektro/spipgm.htm .SH EXIT STATUS flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem |