diff options
author | Alexander Goncharov <chat@joursoir.net> | 2022-06-12 08:50:31 +0300 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-06-30 00:59:56 +0000 |
commit | f0fae1a9a56349f055c441d1822234590679d95c (patch) | |
tree | 021d4d4646f40ec432684542794b3c4ab03c3957 /include/programmer.h | |
parent | 71488a8c13a981466b3060f7780d165eeffba87f (diff) | |
download | flashrom-f0fae1a9a56349f055c441d1822234590679d95c.tar.gz flashrom-f0fae1a9a56349f055c441d1822234590679d95c.tar.bz2 flashrom-f0fae1a9a56349f055c441d1822234590679d95c.zip |
drkaiser: Refactor singleton states into reentrant pattern
Move global singleton states into a struct and store within
the par_master data field for the life-time of the driver.
This is one of the steps on the way to move par_master data
memory management behind the initialisation API, for more
context see other patches under the same topic "register_master_api".
Implements: https://ticket.coreboot.org/issues/391
BUG=b:185191942
TEST=builds
Change-Id: I3dd35eceadb9dbca8e526705b7be977564ed7318
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65194
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'include/programmer.h')
0 files changed, 0 insertions, 0 deletions