From 37c4252ef75a89e8cb182873fdeac76d3d91418f Mon Sep 17 00:00:00 2001 From: Carl-Daniel Hailfinger Date: Tue, 5 Oct 2010 19:19:48 +0000 Subject: Speed up RayeR SPIPGM driver 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. Corresponding to flashrom svn r1188. Signed-off-by: Carl-Daniel Hailfinger Tested-by: Martin Rehak Acked-by: Michael Karcher --- flashrom.8 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'flashrom.8') diff --git a/flashrom.8 b/flashrom.8 index 47312a0..4372a74 100644 --- a/flashrom.8 +++ b/flashrom.8 @@ -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 -- cgit v1.1