Attention is currently required from: Thomas Heijligen.

Edward O'Callaghan uploaded patch set #2 to this change.

View Change

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, 30 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/62/68662/2

To view, visit change 68662. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I2be81995f8fe7e212a01008a5e7bdb49b1592ca2
Gerrit-Change-Number: 68662
Gerrit-PatchSet: 2
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Thomas Heijligen <src@posteo.de>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Thomas Heijligen <src@posteo.de>
Gerrit-MessageType: newpatchset