aboutsummaryrefslogtreecommitdiffstats
path: root/amd_imc.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-06-17 22:15:02 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2022-08-24 04:11:44 +0000
commit80f1ea9a791cef897f1597d11e0c37703a868cd7 (patch)
tree30b92bab7da6a0d9fc7d88e3859d3e7f5ada1863 /amd_imc.c
parent73e28a747256ff3a881d2bc2da744ebdcde90339 (diff)
downloadflashrom-80f1ea9a791cef897f1597d11e0c37703a868cd7.tar.gz
flashrom-80f1ea9a791cef897f1597d11e0c37703a868cd7.tar.bz2
flashrom-80f1ea9a791cef897f1597d11e0c37703a868cd7.zip
ichspi.c: Pack hwseq_data into opaque.data field
The hwseq_data struct remains to be a stack allocated instance for now however it is referenced in the opaque_master data field of the flash ctx. This allows for worker functions that leverage hwseq_data state to derive state indirectly via the flash ctx instead of directly upon the global state. This allows for unblocking further work to finally dispense with the stack allocation in favour of a heap allocation with a defined life-time of the driver. BUG=b:237839418 TEST=builds Change-Id: I2ad57d496176cf26edcd0ba40154cc6250846e33 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/65205 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Alexander Goncharov <chat@joursoir.net> Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'amd_imc.c')
0 files changed, 0 insertions, 0 deletions