diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2021-05-25 13:53:25 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-06-03 05:12:29 +0000 |
commit | 45e0a071f13a684166335394c4ea40c9d055e198 (patch) | |
tree | f0f97538f75bbbdee80c2e680ba5e82a6c5aed5b /os.h | |
parent | 89a16e4df69a6c123aeaf4b64b71a93f5a274648 (diff) | |
download | flashrom-45e0a071f13a684166335394c4ea40c9d055e198.tar.gz flashrom-45e0a071f13a684166335394c4ea40c9d055e198.tar.bz2 flashrom-45e0a071f13a684166335394c4ea40c9d055e198.zip |
spi_master: Make use of new register_spi_master() API
Some more spi masters are now ready to get the advantage of new API
and pass pointers to dynamically allocated data to
register_spi_master(). This way we can avoid some mutable globals.
BUG=b:185191942
TEST=./flashrom --programmer raiden_debug_spi -r $(mktemp)
./flashrom --programmer raiden_debug_spi -v /tmp/tmp.Fch5QLVb4R
Change-Id: If72f54c28a95b402b3565fd14ea481f734e1c970
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/54889
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'os.h')
0 files changed, 0 insertions, 0 deletions