summaryrefslogtreecommitdiffstats
path: root/gfxnvidia.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 /gfxnvidia.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 'gfxnvidia.c')
-rw-r--r--gfxnvidia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfxnvidia.c b/gfxnvidia.c
index 19fa2b664..941f0e8d4 100644
--- a/gfxnvidia.c
+++ b/gfxnvidia.c
@@ -111,7 +111,7 @@ static int gfxnvidia_init(const struct programmer_cfg *cfg)
uint32_t reg32;
uint8_t *bar;
- dev = pcidev_init(gfx_nvidia, PCI_BASE_ADDRESS_0);
+ dev = pcidev_init(cfg, gfx_nvidia, PCI_BASE_ADDRESS_0);
if (!dev)
return 1;