aboutsummaryrefslogtreecommitdiffstats
path: root/nicintel.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-08-12 15:25:39 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2022-09-07 02:45:15 +0000
commit5d63d3f88439c35abf40b0a38bc7d54e4729b03e (patch)
treed464a17919a146bc061785aa45020c66879f538a /nicintel.c
parentea938173a40a6fae076f6fc0f37f940eae82d142 (diff)
downloadflashrom-5d63d3f88439c35abf40b0a38bc7d54e4729b03e.tar.gz
flashrom-5d63d3f88439c35abf40b0a38bc7d54e4729b03e.tar.bz2
flashrom-5d63d3f88439c35abf40b0a38bc7d54e4729b03e.zip
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>
Diffstat (limited to 'nicintel.c')
-rw-r--r--nicintel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nicintel.c b/nicintel.c
index 9ef03157..16cb5e45 100644
--- a/nicintel.c
+++ b/nicintel.c
@@ -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;