aboutsummaryrefslogtreecommitdiffstats
path: root/writeprotect.h
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-07-12 14:18:37 +1000
committerNico Huber <nico.h@gmx.de>2021-09-13 21:59:14 +0000
commit07f41b3bca86f25ac51cbe30c6324a1df555e239 (patch)
tree91cf2bdc82023ae8354c24c3827ee59699f5b7f8 /writeprotect.h
parent1f28ac646fee0a8b75d5b4ec328f048124de3d00 (diff)
downloadflashrom-07f41b3bca86f25ac51cbe30c6324a1df555e239.tar.gz
flashrom-07f41b3bca86f25ac51cbe30c6324a1df555e239.tar.bz2
flashrom-07f41b3bca86f25ac51cbe30c6324a1df555e239.zip
dediprog.c: Refactor singleton states into reentrant pattern
Move global singleton states into a struct and store within the spi_master data field for the life-time of the driver. This is one of the steps on the way to move spi_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 and ninja test Change-Id: I72085e750af97b94dfa94f2ebf2a134e41a2ec8d Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/56414 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'writeprotect.h')
0 files changed, 0 insertions, 0 deletions