diff options
author | Anastasia Klimchuk <aklm@chromium.org> | 2021-09-27 13:24:20 +1000 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-10-10 10:24:33 +0000 |
commit | f8999921ea6889f4f008a921626debd2f45930be (patch) | |
tree | ffdb79a86207dc0d694ce7f3b05be4322f15fb31 /sfdp.c | |
parent | 5a73eb7d1b727b9cc11cc94ab807ffbd25cdb268 (diff) | |
download | flashrom-f8999921ea6889f4f008a921626debd2f45930be.tar.gz flashrom-f8999921ea6889f4f008a921626debd2f45930be.tar.bz2 flashrom-f8999921ea6889f4f008a921626debd2f45930be.zip |
raiden_debug_spi: Use spi data in configure_protocol
Spi data for this programmer now contains pointer to spi_master
struct, and can be used in configure_protocol.
This patch is making init code of raiden_debug_spi a bit more
consistent with other programmers, for example it allows to remove
data assignment `spi_config->data = data` from init function. This
assignment was only needed for configure_protocol function, and
now it is not needed anymore.
BUG=b:185191942
TEST=test in CB:57918
Change-Id: I5df0609efcd1fdb274b8cc84536253d5dbae5270
Signed-off-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/57973
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'sfdp.c')
0 files changed, 0 insertions, 0 deletions