summaryrefslogtreecommitdiffstats
path: root/programmer.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2020-11-17 13:25:46 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2021-01-19 00:56:48 +0000
commit22f0b069bf548f2791845bdad81fd1ff86908e03 (patch)
tree7a302db0e7dada1be5dfa29c7f5612057b8633b0 /programmer.c
parentc872a9fc47cfa1a756437eff46a62ba801583f03 (diff)
downloadflashrom-22f0b069bf548f2791845bdad81fd1ff86908e03.tar.gz
flashrom-22f0b069bf548f2791845bdad81fd1ff86908e03.tar.bz2
flashrom-22f0b069bf548f2791845bdad81fd1ff86908e03.zip
it85spi.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. BUG=b:172876667 TEST=builds Change-Id: I389d34d62e753c012910aa5ff24a496b24a4753c Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/47655 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Daniel Kurtz <djkurtz@google.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'programmer.c')
0 files changed, 0 insertions, 0 deletions