diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-08-12 14:09:06 +1000 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-09-07 01:53:36 +0000 |
commit | 65c99b17b8bac66caecbf0dea716d80af0311dd7 (patch) | |
tree | fc866cd9df9a6c9bbf8793015bc2a51797a9719f /include | |
parent | 848825e049dfa8e18e33ed9cfa3b4ea61ac6ee4a (diff) | |
download | flashrom-65c99b17b8bac66caecbf0dea716d80af0311dd7.tar.gz flashrom-65c99b17b8bac66caecbf0dea716d80af0311dd7.tar.bz2 flashrom-65c99b17b8bac66caecbf0dea716d80af0311dd7.zip |
sb600spi.c: Allow passing programmer_cfg directly
Modify the type signature of the programmer entry-point
xxx_init() functions to allow for the consumption of the
programmer parameterisation string data.
Also plumb programmer_cfg though handle_imc and handle_speed.
Change-Id: I82f9ee75df90c582ef345c00a5487c687f28cdd5
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66660
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/programmer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/programmer.h b/include/programmer.h index 1372e2be..4ed68da1 100644 --- a/include/programmer.h +++ b/include/programmer.h @@ -387,7 +387,7 @@ int mcp6x_spi_init(int want_spi); /* sb600spi.c */ -int sb600_probe_spi(struct pci_dev *dev); +int sb600_probe_spi(const struct programmer_cfg *cfg, struct pci_dev *dev); /* wbsio_spi.c */ int wbsio_check_for_spi(void); |