diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2021-05-21 09:45:53 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-05-23 04:19:37 +0000 |
commit | c49aaeef777fd66381100b4b6f133289755aa831 (patch) | |
tree | 6defb200cfdb10ca320f3e3138d8e40a2c8b81f1 /tests/spi25.c | |
parent | 9a2f91d7eb07bfe1cc1fa52359e56f5498d89f84 (diff) | |
download | flashrom-c49aaeef777fd66381100b4b6f133289755aa831.tar.gz flashrom-c49aaeef777fd66381100b4b6f133289755aa831.tar.bz2 flashrom-c49aaeef777fd66381100b4b6f133289755aa831.zip |
programmer: Make use of new register_par_master() API
Pass pointers to dynamically allocated data to register_par_master().
This way we can avoid a mutable global.
BUG=b:185191942
TEST=builds
Change-Id: I76572e43d01f8a5e1aa73b1b9e8a187465ed8fef
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/54172
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Diffstat (limited to 'tests/spi25.c')
0 files changed, 0 insertions, 0 deletions