summaryrefslogtreecommitdiffstats
path: root/usbblaster_spi.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-05-10 19:29:00 +1000
committerNico Huber <nico.h@gmx.de>2021-05-12 23:19:15 +0000
commit2348b18a5e926da5226bedd37ac4e69dee7543ac (patch)
tree92c276fe706d745633995beacc51a6d1fd33b490 /usbblaster_spi.c
parent4a9a66f7c8eaa21b8381ca3e336c621b2c3ef6a2 (diff)
downloadflashrom-2348b18a5e926da5226bedd37ac4e69dee7543ac.tar.gz
flashrom-2348b18a5e926da5226bedd37ac4e69dee7543ac.tar.bz2
flashrom-2348b18a5e926da5226bedd37ac4e69dee7543ac.zip
digilent_spi.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 Change-Id: I91b842913d4402a4a1bec896f19c2fe1f34772b1 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54012 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'usbblaster_spi.c')
0 files changed, 0 insertions, 0 deletions