mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 14:11:15 +02:00
tree: Fix drivers to pass programmer_cfg to pcidev_init()
Allow for programmer_cfg plumbing in pcidev.c The pci drivers impacted are plumbed here as well. Change-Id: Ie0c9d1c0866d44f64d037c596f2e30547fcfd58f Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66671 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:

committed by
Edward O'Callaghan

parent
ea938173a4
commit
5d63d3f884
@ -85,7 +85,7 @@ static int nicintel_init(const struct programmer_cfg *cfg)
|
||||
uint8_t *control_bar;
|
||||
|
||||
/* FIXME: BAR2 is not available if the device uses the CardBus function. */
|
||||
dev = pcidev_init(nics_intel, PCI_BASE_ADDRESS_2);
|
||||
dev = pcidev_init(cfg, nics_intel, PCI_BASE_ADDRESS_2);
|
||||
if (!dev)
|
||||
return 1;
|
||||
|
||||
|
Reference in New Issue
Block a user