mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 14:33:18 +02:00
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 <c-d.hailfinger.devel.2006@gmx.net> Tested-by: Martin Rehak <rayer@seznam.cz> Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
This commit is contained in:
14
flashrom.8
14
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
|
||||
|
Reference in New Issue
Block a user