diff options
author | Alexander Goncharov <chat@joursoir.net> | 2022-07-11 00:42:34 +0300 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-07-19 06:47:15 +0000 |
commit | 7204b685356a89371905a7a6e8a836625101a876 (patch) | |
tree | 39a51ccdc6ca8dffabb61f04888f1c7ee0211832 /gfxnvidia.c | |
parent | 600d37154d2d5ae4f2635e5ee8a75c22c21fd611 (diff) | |
download | flashrom-7204b685356a89371905a7a6e8a836625101a876.tar.gz flashrom-7204b685356a89371905a7a6e8a836625101a876.tar.bz2 flashrom-7204b685356a89371905a7a6e8a836625101a876.zip |
it8212: 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".
BUG=b:185191942
TEST=builds
Change-Id: Ib96ad1cb7bbd774381dc18a65843be44269c3ecd
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Ticket: https://ticket.coreboot.org/issues/391
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65745
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'gfxnvidia.c')
0 files changed, 0 insertions, 0 deletions