summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flashrom.85
-rw-r--r--flashrom.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/flashrom.8 b/flashrom.8
index 76a17a3..c8ace15 100644
--- a/flashrom.8
+++ b/flashrom.8
@@ -123,6 +123,11 @@ but the list is not exhaustive, of course.
Please let us know if you can verify other boards to work or not work out
of the box.
.TP
+.B "\-p, \-\-programmer <name>"
+Specify the programmer device. Currently supported are:
+.sp
+.BR " internal" " (default, for in-system flashing in the mainboard)"
+.TP
.B "\-h, \-\-help"
Show a help text and exit.
.TP
diff --git a/flashrom.c b/flashrom.c
index 7222d7f..4bf41d9 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -313,6 +313,7 @@ void usage(const char *name)
" -l | --layout <file.layout>: read rom layout from file\n"
" -i | --image <name>: only flash image name from flash layout\n"
" -L | --list-supported: print supported devices\n"
+ " -p | --programmer <name>: specify the programmer device\n"
" -h | --help: print this help text\n"
" -R | --version: print the version (release)\n"
"\n" " If no file is specified, then all that happens"
OpenPOWER on IntegriCloud