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 /chipset_enable.c | |
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 'chipset_enable.c')
-rw-r--r-- | chipset_enable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chipset_enable.c b/chipset_enable.c index 5f46fbf24..7a98fd479 100644 --- a/chipset_enable.c +++ b/chipset_enable.c @@ -1407,7 +1407,7 @@ static int enable_flash_sb600(struct pci_dev *dev, const char *name) internal_buses_supported &= BUS_LPC | BUS_FWH; - ret = sb600_probe_spi(dev); + ret = sb600_probe_spi(NULL, dev); /* TODO(quasisec): pass prog_param */ /* Read ROM strap override register. */ OUTB(0x8f, 0xcd6); |