diff options
author | Edward O'Callaghan <quasisec@google.com> | 2020-04-17 14:10:55 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-04-19 12:17:54 +0000 |
commit | a25c13cdb601f9d43b0f8edad96f9489efcb4b37 (patch) | |
tree | d747e1781d3d0367097cb6f9f0724534532962f8 /satasii.c | |
parent | aa4aa16554c2e9961147cabafc347fc22dbafdc0 (diff) | |
download | flashrom-a25c13cdb601f9d43b0f8edad96f9489efcb4b37.tar.gz flashrom-a25c13cdb601f9d43b0f8edad96f9489efcb4b37.tar.bz2 flashrom-a25c13cdb601f9d43b0f8edad96f9489efcb4b37.zip |
lspcon_i2c_spi.c: Clean up some unnecessary indirection
Clean up some confusion of implicit copies by indirection.
This allows the caller of register_spi_master() to have it's
internal state in the expected way.
Also add an error when the mpu reset fails on init.
BUG=b:148746232,b:153027771,b:140394053
BRANCH=none
TEST=builds
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Change-Id: I66ba4ffeb696309b8ad5b5ba58650630e8feefa9
Reviewed-on: https://review.coreboot.org/c/flashrom/+/40470
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'satasii.c')
0 files changed, 0 insertions, 0 deletions