aboutsummaryrefslogtreecommitdiffstats
path: root/atavia.c
diff options
context:
space:
mode:
authorAlexander Goncharov <chat@joursoir.net>2022-07-14 17:14:55 +0300
committerAnastasia Klimchuk <aklm@chromium.org>2022-08-03 23:18:17 +0000
commite410532fdd45855a2aaac028d8129204346259d8 (patch)
tree8e30cbbc1dd180b7676b3852cd41e80a9f84c637 /atavia.c
parent5b7ae255c3bdc96645750a599f9e4aab79f2413a (diff)
downloadflashrom-e410532fdd45855a2aaac028d8129204346259d8.tar.gz
flashrom-e410532fdd45855a2aaac028d8129204346259d8.tar.bz2
flashrom-e410532fdd45855a2aaac028d8129204346259d8.zip
nicintel: 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: I839baad1e6085958a29652f23c9027b6a10edd15 Signed-off-by: Alexander Goncharov <chat@joursoir.net> Ticket: https://ticket.coreboot.org/issues/391 Reviewed-on: https://review.coreboot.org/c/flashrom/+/65974 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Thomas Heijligen <src@posteo.de> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'atavia.c')
0 files changed, 0 insertions, 0 deletions