diff options
author | Alexander Goncharov <chat@joursoir.net> | 2022-06-04 11:06:25 +0300 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-06-19 23:47:04 +0000 |
commit | 41337be92bddcbfa52b563090d1558b9444a0c20 (patch) | |
tree | 7593157178ae216e6662166dc993292106d44f89 /nicintel.c | |
parent | 40997e30ac3e4789f08a8a05f134757756c18ebd (diff) | |
download | flashrom-41337be92bddcbfa52b563090d1558b9444a0c20.tar.gz flashrom-41337be92bddcbfa52b563090d1558b9444a0c20.tar.bz2 flashrom-41337be92bddcbfa52b563090d1558b9444a0c20.zip |
atahpt: 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: I82e4c82916dc835e9462b80750b06f9d78701edf
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/64963
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'nicintel.c')
0 files changed, 0 insertions, 0 deletions