aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-08-12 14:13:01 +1000
committerAnastasia Klimchuk <aklm@chromium.org>2022-09-07 01:53:16 +0000
commit848825e049dfa8e18e33ed9cfa3b4ea61ac6ee4a (patch)
treeba80059e530a825d8eb54c708c5369d18ceda085 /include
parent1233e638336f2d67be57b31bb769aa85aa5bd583 (diff)
downloadflashrom-848825e049dfa8e18e33ed9cfa3b4ea61ac6ee4a.tar.gz
flashrom-848825e049dfa8e18e33ed9cfa3b4ea61ac6ee4a.tar.bz2
flashrom-848825e049dfa8e18e33ed9cfa3b4ea61ac6ee4a.zip
it87spi.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. Change-Id: I598b1811c9734f41eee205d5a2b51ad8ac79e3ab Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66662 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/programmer.h b/include/programmer.h
index 95e25ca6..1372e2be 100644
--- a/include/programmer.h
+++ b/include/programmer.h
@@ -372,7 +372,7 @@ int amd_imc_shutdown(struct pci_dev *dev);
void enter_conf_mode_ite(uint16_t port);
void exit_conf_mode_ite(uint16_t port);
void probe_superio_ite(void);
-int init_superio_ite(void);
+int init_superio_ite(const struct programmer_cfg *cfg);
#if CONFIG_LINUX_MTD == 1
/* trivial wrapper to avoid cluttering internal_init() with #if */