aboutsummaryrefslogtreecommitdiffstats
path: root/coreboot_tables.h
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-09-27 11:16:40 +1000
committerNico Huber <nico.h@gmx.de>2021-10-10 10:24:14 +0000
commit5a73eb7d1b727b9cc11cc94ab807ffbd25cdb268 (patch)
tree3523770fd6024903bb3c1c4125a5244e659788e5 /coreboot_tables.h
parent7b9c74f49607dda18243138e87d71b773cec7a7b (diff)
downloadflashrom-5a73eb7d1b727b9cc11cc94ab807ffbd25cdb268.tar.gz
flashrom-5a73eb7d1b727b9cc11cc94ab807ffbd25cdb268.tar.bz2
flashrom-5a73eb7d1b727b9cc11cc94ab807ffbd25cdb268.zip
raiden_debug_spi: Link spi_master struct to spi data
For this programmer, spi_master struct is dynamically allocated and needs to be freed on shutdown. Adding a pointer to spi data struct allows to link spi_master from spi data, which in turn allows to pass spi data into shutdown function. As a result, both register_spi_master and register_shutdown use the same data, and this unblocks moving raiden_debug_spi to new API (like all the other spi masters in commit a69c5196d20d136b1de120f0fa5ea1e06c3776da). See further patches in this chain. BUG=b:185191942 TEST=test in CB:57918 Change-Id: I5400802aa6961538df12fcd5339f7e2a5db145a1 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/57972 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'coreboot_tables.h')
0 files changed, 0 insertions, 0 deletions