summaryrefslogtreecommitdiffstats
path: root/flashrom.8.tmpl
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2021-05-23 17:58:06 +0800
committerNico Huber <nico.h@gmx.de>2021-06-21 10:19:22 +0000
commitf9f9c9d2c618c494f0d8ba9f4a1da4aea725d003 (patch)
treecd1b9164670dd779b86fcab86a56330a81a6f8ca /flashrom.8.tmpl
parentbc31bd027d159672f000f3437e44d889c928ab97 (diff)
downloadflashrom-f9f9c9d2c618c494f0d8ba9f4a1da4aea725d003.tar.gz
flashrom-f9f9c9d2c618c494f0d8ba9f4a1da4aea725d003.tar.bz2
flashrom-f9f9c9d2c618c494f0d8ba9f4a1da4aea725d003.zip
buspirate: Add psus option
This change adds a 'psus=<on|off>' option, to control the external Vcc state of the bus pirate, allowing hardware where the SPI flash chip is powered by the 3V3/5V lines directly. Change-Id: I8a7d4b40c0f7f04f6976f6757f05b61f2c9958f9 Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54887 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'flashrom.8.tmpl')
-rw-r--r--flashrom.8.tmpl16
1 files changed, 15 insertions, 1 deletions
diff --git a/flashrom.8.tmpl b/flashrom.8.tmpl
index 4ae7e71bf..228e17bb5 100644
--- a/flashrom.8.tmpl
+++ b/flashrom.8.tmpl
@@ -952,7 +952,21 @@ can be
More information about the Bus Pirate pull-up resistors and their purpose is available
.URLB "http://dangerousprototypes.com/docs/Practical_guide_to_Bus_Pirate_pull-up_resistors" \
"in a guide by dangerousprototypes" .
-Only the external supply voltage (Vpu) is supported as of this writing.
+.sp
+The state of the Bus Pirate power supply pins is controllable through an optional
+.B psus
+parameter. Syntax is
+.sp
+.B " flashrom -p buspirate_spi:psus=state"
+.sp
+where
+.B state
+can be
+.BR on " or " off .
+This allows the bus pirate to power the ROM chip directly. This may also be used to provide the
+required pullup voltage (when using the
+.B pullups
+option), by connecting the Bus Pirate's Vpu input to the appropriate Vcc pin.
.SS
.BR "pickit2_spi " programmer
.IP