diff options
author | Felix Singer <felixsinger@posteo.net> | 2022-07-18 02:36:18 +0200 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-07-22 01:26:25 +0000 |
commit | e6e4ca5fe48989539a26e30417688757cfd6bf75 (patch) | |
tree | 1bea094031740fdacfe20ba0dd800f41c36ffde4 /flashrom.8.tmpl | |
parent | a2fc6185e68c1b5639abe2bfbfc915731cb2c5a9 (diff) | |
download | flashrom-e6e4ca5fe48989539a26e30417688757cfd6bf75.tar.gz flashrom-e6e4ca5fe48989539a26e30417688757cfd6bf75.tar.bz2 flashrom-e6e4ca5fe48989539a26e30417688757cfd6bf75.zip |
realtek_mst_i2c_spi: Use underscores for parameters instead hyphens
realtek_mst_i2c_spi is the only programmer which uses hyphens instead of
underscores in its parameter names. Thus, for consistency, rename the
parameters so that they use underscores.
Signed-off-by: Felix Singer <felixsinger@posteo.net>
Change-Id: I5ff6d8d432d875670fcaa2088e9cf9d9f1b83dc2
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65935
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Peter Marheine <pmarheine@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'flashrom.8.tmpl')
-rw-r--r-- | flashrom.8.tmpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/flashrom.8.tmpl b/flashrom.8.tmpl index a37b88a03..2cf3a38ce 100644 --- a/flashrom.8.tmpl +++ b/flashrom.8.tmpl @@ -1543,30 +1543,30 @@ commands through the MST hub's I2C connection with the host). .TP .B In-system programming (ISP) mode .sp -The \fBreset-mcu\fP and \fBenter-isp\fP options provide control over device +The \fBreset_mcu\fP and \fBenter_isp\fP options provide control over device mode changes, where each can be set to 0 or 1 to enable or disable the corresponding mode transition. -\fBenter-isp\fP defaults to 1, and if enabled will issue commands to the MST +\fBenter_isp\fP defaults to 1, and if enabled will issue commands to the MST hub when beginning operation to put it into ISP mode. -\fBreset-mcu\fP defaults to 0, and if enabled will issue a reset command to +\fBreset_mcu\fP defaults to 0, and if enabled will issue a reset command to the MST hub on programming completion, causing it to exit ISP mode and to reload its own firmware from flash. -\fBallow-brick\fP defaults to no, however must be set explicitly to "yes" +\fBallow_brick\fP defaults to no, however must be set explicitly to "yes" to allow the driver to run if you are sure you have a MST chip. The hub must be in ISP mode for SPI flash access to be possible, so it is -usually only useful to disable \fBenter-isp\fP if an earlier invocation avoided +usually only useful to disable \fBenter_isp\fP if an earlier invocation avoided resetting it on completion. For instance, to erase the flash and rewrite it with the contents of a file without resetting in between (which could render it nonfunctional if attempting to load firmware from a blank flash): .sp -.B " flashrom -p realtek_mst_i2c_spi:bus=0,enter-isp=1,reset-mcu=0 -E" +.B " flashrom -p realtek_mst_i2c_spi:bus=0,enter_isp=1,reset_mcu=0 -E" .br -.B " flashrom -p realtek_mst_i2c_spi:bus=0,enter-isp=0,reset-mcu=1 -w new.bin" +.B " flashrom -p realtek_mst_i2c_spi:bus=0,enter_isp=0,reset_mcu=1 -w new.bin" .SS .BR "parade_lspcon " programmer .IP |