aboutsummaryrefslogtreecommitdiffstats
path: root/test_build.sh
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-04-12 10:05:57 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2021-04-15 03:13:12 +0000
commit9dad8c2143e6054b7c198aab5f622318a61bede4 (patch)
treeb4b64ca86ba040093a6159345c8e4a5b5d905828 /test_build.sh
parent485c335a34b47080e4fd40c50ee36bd70e09e115 (diff)
downloadflashrom-9dad8c2143e6054b7c198aab5f622318a61bede4.tar.gz
flashrom-9dad8c2143e6054b7c198aab5f622318a61bede4.tar.bz2
flashrom-9dad8c2143e6054b7c198aab5f622318a61bede4.zip
ft2232_spi.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. 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". TEST=builds BUG=b:140394053 Change-Id: I67518a58b4f35e0edaf06ac09c9374bdf06db0df Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/52256 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'test_build.sh')
0 files changed, 0 insertions, 0 deletions