aboutsummaryrefslogtreecommitdiffstats
path: root/it85spi.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-05-18 09:25:01 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2021-05-26 06:28:53 +0000
commitbfb211cf273d731e4f67313f9cf2636156f8b117 (patch)
treed177b5cb785381af53c5792a5c0580679cb1bb59 /it85spi.c
parent245b7cd1d35fa76c4204386938a15cb064d0ca3d (diff)
downloadflashrom-bfb211cf273d731e4f67313f9cf2636156f8b117.tar.gz
flashrom-bfb211cf273d731e4f67313f9cf2636156f8b117.tar.bz2
flashrom-bfb211cf273d731e4f67313f9cf2636156f8b117.zip
mstarddc_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: Ia0e5f6879bfbfac591a40119ee3e0942a5cbc4b9 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54033 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'it85spi.c')
0 files changed, 0 insertions, 0 deletions