diff options
author | Alexander Goncharov <chat@joursoir.net> | 2022-07-13 13:54:44 +0300 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-08-05 09:00:58 +0000 |
commit | 65372382c3933fca0c31cdf32e17f9d171af8840 (patch) | |
tree | 34b97e0c8b5e30f20e182f03eb8d28c2d123c81e /it8212.c | |
parent | e410532fdd45855a2aaac028d8129204346259d8 (diff) | |
download | flashrom-65372382c3933fca0c31cdf32e17f9d171af8840.tar.gz flashrom-65372382c3933fca0c31cdf32e17f9d171af8840.tar.bz2 flashrom-65372382c3933fca0c31cdf32e17f9d171af8840.zip |
satamv: 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 specified below.
TOPIC=register_master_api
TEST=builds
Change-Id: I084cf826a8a594ade80eed43008e286c7bd1b553
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Ticket: https://ticket.coreboot.org/issues/391
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65978
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Thomas Heijligen <src@posteo.de>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'it8212.c')
0 files changed, 0 insertions, 0 deletions