On the review of https://review.coreboot.org/c/flashrom/+/34488
suggested adding a check for order of entries in flashchips.c.
Sounds like a great idea, though I don't have much experience with Jenkins
and I'd like to make sure I get this right.
Did you have thoughts about how to implement it in a Jenkins-friendly way?
Two approaches I was thinking about:
(a) make a small C executable, that checks each entry is in order, and
outputs a short message about any failures, along with a pass/fail exit
(b) add that same functionality to the CLI, behind a flag.
Do you have a preference for either of these, or some other approach?