1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 14:11:15 +02:00

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>
This commit is contained in:
Edward O'Callaghan
2023-01-12 13:51:24 +11:00
committed by Edward O'Callaghan
parent 3a1a0684b9
commit 7c3fa6d5cd
5 changed files with 87 additions and 60 deletions

View File

@ -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);