diff options
author | Edward O'Callaghan <quasisec@google.com> | 2020-11-23 12:07:30 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-11-23 22:33:32 +0000 |
commit | 976d0fc0ba4df2d3675753d98caac7bbded7955f (patch) | |
tree | 2650cfed2a6b3d0cc5c6383f091fd6cb44cde249 /util | |
parent | 60aec98d5b02c9e52eb7b7b8ec5daf8ac7e8a232 (diff) | |
download | flashrom-976d0fc0ba4df2d3675753d98caac7bbded7955f.tar.gz flashrom-976d0fc0ba4df2d3675753d98caac7bbded7955f.tar.bz2 flashrom-976d0fc0ba4df2d3675753d98caac7bbded7955f.zip |
wbsio_spi.c: Move singleton state into spi master state tracker
Make use of the reneterent framework by moving singleton static
state out of the global life-time and into a per-spi_master basis.
This allows for the wbsio_spi master to be reneterent and its internal
state's life-time to be correctly handled by Flashrom's core dispatch
logic.
BUG=none
TEST=builds
Change-Id: Ic97fa41daf26f27b68ced11ddc2a4da91d18f68e
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/47854
Reviewed-by: Sam McNally <sammc@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions