diff options
author | Edward O'Callaghan <quasisec@google.com> | 2021-05-25 20:47:02 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2021-05-27 02:35:25 +0000 |
commit | 52c0275c706e71b11c497e86a1974855043362c3 (patch) | |
tree | ac24b3b2eceab4c78292cdad6ee2872c3ed3e2a8 /edi.h | |
parent | e3707bbf497d4d845477f1b84ece51e8ab117ffc (diff) | |
download | flashrom-52c0275c706e71b11c497e86a1974855043362c3.tar.gz flashrom-52c0275c706e71b11c497e86a1974855043362c3.tar.bz2 flashrom-52c0275c706e71b11c497e86a1974855043362c3.zip |
dummyflasher.c: Inline data fetch for spi workers
The spi callbacks do not need par logic to fetch the
data field. Instead of going though get_data_from_context()
just fetch 'data' directly out of mst.spi.
This leads us towards a path of removing dummy_buses_supported
from global state.
BUG=none
BRANCH=none
TEST=`./flashrom -r /tmp/fwupdater.apnSQQ -p dummy:emulate=VARIABLE_SIZE,image=test_update.sh.tmp.emu,size=8388608`
Change-Id: I63b8d8861df75f52f241f09614146990fdfe59ed
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/54906
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sam McNally <sammc@google.com>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'edi.h')
0 files changed, 0 insertions, 0 deletions