summaryrefslogtreecommitdiffstats
path: root/flashrom.8
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-02-16 21:00:27 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2012-02-16 21:00:27 +0000
commit8541d2312150943069bb96addeed564769057af2 (patch)
treee5b044f3eccd55a000bec4e9a783bd20f221b85e /flashrom.8
parent9e9f6849086f82b1aa7ff2f5d7fb0e4c1f1ed544 (diff)
downloadast2050-flashrom-8541d2312150943069bb96addeed564769057af2.zip
ast2050-flashrom-8541d2312150943069bb96addeed564769057af2.tar.gz
Document and enable the linux_spi driver
The linux_spi driver is now enabled by default on Linux. A man page entry and a line in --list-supported output have been added. Corresponding to flashrom svn r1498. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'flashrom.8')
-rw-r--r--flashrom.813
1 files changed, 13 insertions, 0 deletions
diff --git a/flashrom.8 b/flashrom.8
index 782f30b..ff8ed9d 100644
--- a/flashrom.8
+++ b/flashrom.8
@@ -205,6 +205,8 @@ or Xilinx DLC5 compatible cable)
.sp
.BR "* ogp_spi" " (for SPI flash ROMs on Open Graphics Project graphics card)"
.sp
+.BR "* linux_spi" " (for SPI flash ROMs accessible via /dev/spidevX.Y on Linux)"
+.sp
Some programmers have optional or mandatory parameters which are described
in detail in the
.B PROGRAMMER SPECIFIC INFO
@@ -639,6 +641,17 @@ section above.
.sp
More information about the hardware is available at
.BR http://wiki.opengraphics.org .
+.SS
+.BR "linux_spi " programmer
+You have to specify the SPI controller to use with the
+.sp
+.B " flashrom \-p linux_spi:dev=/dev/spidevX.Y"
+.sp
+syntax where
+.B /dev/spidevX.Y
+is the Linux device node for your SPI controller.
+.sp
+Please note that the linux_spi driver only works on Linux.
.SH EXIT STATUS
flashrom exits with 0 on success, 1 on most failures but with 2 if /dev/mem
(/dev/xsvc on Solaris) can not be opened and with 3 if a call to mmap() fails.
OpenPOWER on IntegriCloud