aboutsummaryrefslogtreecommitdiffstats
path: root/82802ab.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@chromium.org>2019-09-23 22:46:12 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2019-10-04 10:43:50 +0000
commit0cd11d8919c66351b9508f58ca0a7f7aaad6dd59 (patch)
tree4034df1770ba21ccc57c9af8249e275cf2ea7352 /82802ab.c
parentca598dabc3e658b3b80fd41143417d884d436e06 (diff)
downloadflashrom-0cd11d8919c66351b9508f58ca0a7f7aaad6dd59.tar.gz
flashrom-0cd11d8919c66351b9508f58ca0a7f7aaad6dd59.tar.bz2
flashrom-0cd11d8919c66351b9508f58ca0a7f7aaad6dd59.zip
cli_classic: Add convenient '--flash-name' cli opt
We have this in the ChromiumOS fork of flashrom which we rely on to obtain the current flash chip in use. This ports it for upstream consumption. V.2: Constrain number_of_operations to one as per Nico's comment. V.3: Move two goto's outside inner if-else block. V.4: Add missing --help line. V.5: Add man page entry. v.6: Use printf() directly. Change-Id: I23d574a2f8eaf809a5c0524490db9e3a560ede56 Signed-off-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/35591 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to '82802ab.c')
0 files changed, 0 insertions, 0 deletions