Attention is currently required from: Felix Singer, Angel Pons, Liam Flaherty.

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

View Change

tree/: Convert unlock func ptr into enumerate values

By converting the blockprotect unlock function pointer
within the flashchip struct into enum values allows for
the flashchips db to be turn into pure, declarative data.
A nice side-effect of this is to reduce link-time symbol
space of chipdrivers and increase modularity of the
spi25_statusreg.c and related implementations.

BUG=none
TEST=ninja test.

Change-Id: Ie5c5db1b09d07e1a549990d6f5a622fae4c83233
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
---
M 82802ab.c
M flashrom.c
M include/chipdrivers.h
M include/flash.h
M jedec.c
M spi25_statusreg.c
M tests/chip.c
M tests/chip_wp.c
8 files changed, 151 insertions(+), 73 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/33/69933/3

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

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: Ie5c5db1b09d07e1a549990d6f5a622fae4c83233
Gerrit-Change-Number: 69933
Gerrit-PatchSet: 3
Gerrit-Owner: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Felix Singer <felixsinger@posteo.net>
Gerrit-Reviewer: Liam Flaherty <liamflaherty@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-Attention: Felix Singer <felixsinger@posteo.net>
Gerrit-Attention: Angel Pons <th3fanbus@gmail.com>
Gerrit-Attention: Liam Flaherty <liamflaherty@chromium.org>
Gerrit-MessageType: newpatchset