diff options
author | Edward O'Callaghan <quasisec@google.com> | 2021-12-13 12:30:03 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2022-01-22 00:04:00 +0000 |
commit | 7a2d7efd83ff50507192bba01dbad1a411e22b25 (patch) | |
tree | 1151de0c68e2f4367e833772f26661fa84ed7298 /cli_output.c | |
parent | f136a2a69c649c785669496d8bbd04b900724e77 (diff) | |
download | flashrom-7a2d7efd83ff50507192bba01dbad1a411e22b25.tar.gz flashrom-7a2d7efd83ff50507192bba01dbad1a411e22b25.tar.bz2 flashrom-7a2d7efd83ff50507192bba01dbad1a411e22b25.zip |
cli_classic.c: Convert do_erase() to libflashrom call
Inline emergency_help_message() to cli_classic call site.
This leaves do_erase() a redudant wrapper and moves us a step
closer to cli_classic as a pure libflashrom user by using
flashrom_flash_erase().
BUG=b:208132085
TEST=`flashrom -E`
Change-Id: I8566164e7dbad69cf478b24208014f10fb99e4d0
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/60068
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'cli_output.c')
0 files changed, 0 insertions, 0 deletions