aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2023-01-12 13:51:24 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2023-02-15 06:28:41 +0000
commit7c3fa6d5cd94dd90eeff2b55a510e26d18393674 (patch)
treed0b995659e9b35257c4783fc4552aa0d74c948c1 /include
parent3a1a0684b999a68e265266651983cb0429faf288 (diff)
downloadflashrom-7c3fa6d5cd94dd90eeff2b55a510e26d18393674.tar.gz
flashrom-7c3fa6d5cd94dd90eeff2b55a510e26d18393674.tar.bz2
flashrom-7c3fa6d5cd94dd90eeff2b55a510e26d18393674.zip
internal: Move parallel logic into internal_par implementation
The parallel internal programmer is its own implementation. Move it and call into it from the top-level internal.c programmer implementation. Change-Id: Idabeceb59a36680f5fbb45d3ee4bd5dbf837373b Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/71834 Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Thomas Heijligen <src@posteo.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'include')
-rw-r--r--include/programmer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/programmer.h b/include/programmer.h
index db32b2c3..2a4ca765 100644
--- a/include/programmer.h
+++ b/include/programmer.h
@@ -387,7 +387,8 @@ static inline int try_mtd(const struct programmer_cfg *cfg)
/* mcp6x_spi.c */
int mcp6x_spi_init(int want_spi);
-
+/* internal_par.c */
+void internal_par_init(enum chipbustype buses);
/* sb600spi.c */
int sb600_probe_spi(const struct programmer_cfg *cfg, struct pci_dev *dev);