Attention is currently required from: Angel Pons, Daniel Campello, Edward O'Callaghan, Nico Huber, Richard Hughes.
Anastasia Klimchuk has uploaded a new patch set (#4) to the change originally created by Richard Hughes. ( https://review.coreboot.org/c/flashrom/+/64663?usp=email )
Change subject: libflashrom: Allow getting the progress_state from the flashctx ......................................................................
libflashrom: Allow getting the progress_state from the flashctx
External users of the libflashrom API cannot peek into the abstract flashrom_flashctx structure, unlike the local CLI. Provide some API to get the flashrom_progress struct from a flashrom_flashctx.
This allows fwupd to use the new flashrom_set_progress_callback() API without using a global variable with the callback data.
Tested with fwupd in https://github.com/fwupd/fwupd/pull/4675
Change-Id: I322bf56ff92f7b4d0ffc92768e9f0cdf7cb82010 Signed-off-by: Richard Hughes richard@hughsie.com Signed-off-by: Anastasia Klimchuk aklm@flashrom.org --- M cli_output.c M include/libflashrom.h M libflashrom.c M libflashrom.map 4 files changed, 17 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/63/64663/4