mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 23:22:37 +02:00
cli_classic: Replace programmer_shutdown() with libflashrom call
flashrom_programmer_shutdown(NULL) is an equiv call to programmer_shutdown() however this further decouples cli from flashrom core logic at link-time, prefering to instead enter via libflashrom instead. BUG=none TEST=`make`. Change-Id: Ie194fa2e891797a29d05d7e9d0c7226fd62c0679 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/61584 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
83c5c50f91
commit
152d5577de
@ -957,7 +957,7 @@ int main(int argc, char *argv[])
|
|||||||
out_release:
|
out_release:
|
||||||
flashrom_layout_release(layout);
|
flashrom_layout_release(layout);
|
||||||
out_shutdown:
|
out_shutdown:
|
||||||
programmer_shutdown();
|
flashrom_programmer_shutdown(NULL);
|
||||||
out:
|
out:
|
||||||
for (i = 0; i < chipcount; i++) {
|
for (i = 0; i < chipcount; i++) {
|
||||||
flashrom_layout_release(flashes[i].default_layout);
|
flashrom_layout_release(flashes[i].default_layout);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user