aboutsummaryrefslogtreecommitdiffstats
path: root/processor_enable.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-05-26 12:50:59 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2021-06-03 05:20:05 +0000
commit6273472a89c28a088313a6303aa3b5b7904f539e (patch)
tree54d1e54a0a5d928057ebfd66b354489ad96c9da0 /processor_enable.c
parent848bf9daa920d53d84024f71c3141859df8a018f (diff)
downloadflashrom-6273472a89c28a088313a6303aa3b5b7904f539e.tar.gz
flashrom-6273472a89c28a088313a6303aa3b5b7904f539e.tar.bz2
flashrom-6273472a89c28a088313a6303aa3b5b7904f539e.zip
developerbox_spi.c: Refactor singleton states into reentrant pattern
Move global singleton states into a struct and store within the bitbang_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 Change-Id: I84bf0cffa4a14e58103bdb1e7e65ec2475344f12 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54993 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'processor_enable.c')
0 files changed, 0 insertions, 0 deletions