aboutsummaryrefslogtreecommitdiffstats
path: root/en29lv640b.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@chromium.org>2019-09-23 22:53:14 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2019-10-04 10:45:15 +0000
commit7d6b526ef5b7b11f89eee37062e91590f5fa7f43 (patch)
treec10247a7a5f2f15f83e9f55d1a85c03edb8d682f /en29lv640b.c
parent0cd11d8919c66351b9508f58ca0a7f7aaad6dd59 (diff)
downloadflashrom-7d6b526ef5b7b11f89eee37062e91590f5fa7f43.tar.gz
flashrom-7d6b526ef5b7b11f89eee37062e91590f5fa7f43.tar.bz2
flashrom-7d6b526ef5b7b11f89eee37062e91590f5fa7f43.zip
cli_classic: Add convenient '--{flash,get}-size' 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: Rename '--get-size' to '--flash-size' however keep old arg as 'undocumented' for back-compat. V.4: Add missing --help line. V.5: Add man page entry. V.6: Use printf() directly. Change-Id: I8f002f3b2012aec4d26b0e81456697b9a5de28d6 Signed-off-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/35592 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'en29lv640b.c')
0 files changed, 0 insertions, 0 deletions