diff options
author | Alexander Goncharov <chat@joursoir.net> | 2022-07-14 16:53:45 +0300 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-08-05 09:24:13 +0000 |
commit | ce16a1059f3f19e72f83616ec9338e0c98a3e28d (patch) | |
tree | e4c2a5ad3cc6fd53f92bf17fb0b31fddda5273dd /tests/linux_mtd.c | |
parent | 474a8b8259ad9cc04afd123361c5a541c2f1ad87 (diff) | |
download | flashrom-ce16a1059f3f19e72f83616ec9338e0c98a3e28d.tar.gz flashrom-ce16a1059f3f19e72f83616ec9338e0c98a3e28d.tar.bz2 flashrom-ce16a1059f3f19e72f83616ec9338e0c98a3e28d.zip |
nicnatsemi: 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: I58ad1f0222338fc107e7ac2b9cdd361ae7033912
Signed-off-by: Alexander Goncharov <chat@joursoir.net>
Ticket: https://ticket.coreboot.org/issues/391
Reviewed-on: https://review.coreboot.org/c/flashrom/+/65970
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 'tests/linux_mtd.c')
0 files changed, 0 insertions, 0 deletions