summaryrefslogtreecommitdiffstats
path: root/pony_spi.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-05-27 09:08:40 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2021-06-03 05:20:45 +0000
commitab93e7038741624aea3c14da6d60f7fc50a32121 (patch)
treee4943df96f1cfd50f2cf98648263d76c3fa47b15 /pony_spi.c
parent0d149d9d5b0a888d668015600145ccd953f6388f (diff)
downloadflashrom-ab93e7038741624aea3c14da6d60f7fc50a32121.tar.gz
flashrom-ab93e7038741624aea3c14da6d60f7fc50a32121.tar.bz2
flashrom-ab93e7038741624aea3c14da6d60f7fc50a32121.zip
ogp_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: I6b8f6ecd7c9949ffb4098bf56a8936393283382f Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54996 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'pony_spi.c')
0 files changed, 0 insertions, 0 deletions