On Sun, 17 Jan 2021 at 03:55, Edward O'Callaghan quasisec@google.com wrote:
I think we should pack and carry state within the flashctx
Yes, good idea.
the testing framework is already merged so I would invite you to write a test with the additional API if you could?
Aha! I did not know of the unit test existence, apologies. I've never used cmocka before, but I gave it a go, reviews most welcome: https://review.coreboot.org/c/flashrom/+/49643
If that looks acceptable I can also add progress reporting to some of the other programmers too.
Richard.