diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2020-11-17 13:25:46 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-01-19 00:56:48 +0000 |
commit | 22f0b069bf548f2791845bdad81fd1ff86908e03 (patch) | |
tree | 7a302db0e7dada1be5dfa29c7f5612057b8633b0 /fmap.h | |
parent | c872a9fc47cfa1a756437eff46a62ba801583f03 (diff) | |
download | flashrom-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 'fmap.h')
0 files changed, 0 insertions, 0 deletions