Attention is currently required from: Thomas Heijligen, Edward O'Callaghan.
Hello build bot (Jenkins), Thomas Heijligen,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/flashrom/+/68662
to look at the new patch set (#3).
Change subject: programmer: Add rget_io_perms programmer req framework ......................................................................
programmer: Add rget_io_perms programmer req framework
Some programmers require special i/o port access permissions. Add a flag in the programmer entry to allow the programmer to flag this requirement to the flashrom core logic rather than each bespoke programmer init() calling rget_io_perms() in their own ways.
This allows for flashrom core logic to assume and drop privileges exactly where they are needed rather than for the entire life-time of the program. It also deduplicates the assuming privilege code in each driver.
Change-Id: I2be81995f8fe7e212a01008a5e7bdb49b1592ca2 Signed-off-by: Edward O'Callaghan quasisec@google.com --- M flashrom.c M include/programmer.h 2 files changed, 32 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/62/68662/3