diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-11-23 22:37:19 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2023-03-22 21:19:09 +0000 |
commit | 5cff668d1ad152e3f70f725e667b23690e2d9f1a (patch) | |
tree | e724ecd415a611543a80b5f6f790d25e9305559d /platform | |
parent | e1cdbdbbfb98a28fe7198ae6cd3e571269a04403 (diff) | |
download | flashrom-5cff668d1ad152e3f70f725e667b23690e2d9f1a.tar.gz flashrom-5cff668d1ad152e3f70f725e667b23690e2d9f1a.tar.bz2 flashrom-5cff668d1ad152e3f70f725e667b23690e2d9f1a.zip |
tree/: Convert printlock func ptr into enumerate values
Converting the printlock 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: I9131348f72c1010e2c213dca4dc4b675a8d8681e
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/69934
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sam McNally <sammc@google.com>
Reviewed-by: Nikolai Artemiev <nartemiev@google.com>
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions