summaryrefslogtreecommitdiffstats
path: root/rayer_spi.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-05-27 09:46:23 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2021-06-03 05:20:56 +0000
commitf7b0674266874e40cc19984e7b556154ac9093c1 (patch)
tree9e588dfe6d319ad00d11a6adab20978fbaa9f7a7 /rayer_spi.c
parentab93e7038741624aea3c14da6d60f7fc50a32121 (diff)
downloadflashrom-f7b0674266874e40cc19984e7b556154ac9093c1.tar.gz
flashrom-f7b0674266874e40cc19984e7b556154ac9093c1.tar.bz2
flashrom-f7b0674266874e40cc19984e7b556154ac9093c1.zip
pony_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: Icf1125dadcdaa287ebe3c07ca95adb770bb19412 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54997 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'rayer_spi.c')
0 files changed, 0 insertions, 0 deletions