aboutsummaryrefslogtreecommitdiffstats
path: root/bitbang_spi.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-06-01 11:51:01 +1000
committerNico Huber <nico.h@gmx.de>2021-06-10 13:05:30 +0000
commit7fd6592956029b106672b99dc6b5dd9141943972 (patch)
tree791748beef8e976b8d3535df5eb5b39ab6b75ab1 /bitbang_spi.c
parent2376ccf00a805f4744eb830aabdfb7fe8e29b7e3 (diff)
downloadflashrom-7fd6592956029b106672b99dc6b5dd9141943972.tar.gz
flashrom-7fd6592956029b106672b99dc6b5dd9141943972.tar.bz2
flashrom-7fd6592956029b106672b99dc6b5dd9141943972.zip
nicrealtek.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: If0cb0fefb53b2c6bb65a85f4c8dc6f323954dd0c Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55108 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'bitbang_spi.c')
0 files changed, 0 insertions, 0 deletions