diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2021-06-01 11:17:17 +1000 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-06-09 15:58:23 +0000 |
commit | cedf7bd38599b7123ad47c6e2e63d6ab9dc0df9c (patch) | |
tree | bb7c7cd3eff4b761e3346f1cfaed7915b5c925ac /sfdp.c | |
parent | dee884ebc532b5b9a6f926304239fd061bb3803c (diff) | |
download | flashrom-cedf7bd38599b7123ad47c6e2e63d6ab9dc0df9c.tar.gz flashrom-cedf7bd38599b7123ad47c6e2e63d6ab9dc0df9c.tar.bz2 flashrom-cedf7bd38599b7123ad47c6e2e63d6ab9dc0df9c.zip |
nic3com.c: 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: I9834b82650cd070556cf82207796bc6bd6b31b28
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/55107
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'sfdp.c')
0 files changed, 0 insertions, 0 deletions