mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
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>
This commit is contained in:

committed by
Anastasia Klimchuk

parent
848825e049
commit
65c99b17b8
@ -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);
|
||||
|
Reference in New Issue
Block a user