diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2021-05-20 10:25:57 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-05-23 22:53:46 +0000 |
commit | efab1103abc04afc402ee548f8bac6ab5ce7829d (patch) | |
tree | 824279b799141aaac0a1e8d17b58725125b8699f /stm50.c | |
parent | 59237a37005918c11268913bf8120eae4b54c0ee (diff) | |
download | flashrom-efab1103abc04afc402ee548f8bac6ab5ce7829d.tar.gz flashrom-efab1103abc04afc402ee548f8bac6ab5ce7829d.tar.bz2 flashrom-efab1103abc04afc402ee548f8bac6ab5ce7829d.zip |
sb600spi.c: Make use of new register_spi_master() API
Pass pointers to dynamically allocated data to
register_spi_master(). This way we can avoid mutable globals.
BUG=b:185191942
TEST=builds
Change-Id: Id555dc5e125309883a816e00afb26d7141fd870d
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/54713
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'stm50.c')
0 files changed, 0 insertions, 0 deletions