aboutsummaryrefslogtreecommitdiffstats
path: root/stm50.c
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2022-05-23 01:45:11 +0200
committerNico Huber <nico.h@gmx.de>2022-06-22 13:31:42 +0000
commit5af0ff38404885d66cdd20f8a9bb9137064932d9 (patch)
treeadc1d13f0b4e35cd5e329192e4525b32eee6e7ae /stm50.c
parentb4dd9f9039d0dc5f1747e1b27e62ba13b0bc0c6f (diff)
downloadflashrom-5af0ff38404885d66cdd20f8a9bb9137064932d9.tar.gz
flashrom-5af0ff38404885d66cdd20f8a9bb9137064932d9.tar.bz2
flashrom-5af0ff38404885d66cdd20f8a9bb9137064932d9.zip
pcidev: Always fetch ident info
As discovered earlier[1], the `vendor_id` and `device_id` fields are not always automatically set. However, we use these fields throughout flash- rom. To not lose track when we actually fetched them, let's always call pci_fill_info(PCI_FILL_IDENT) before returning a `pci_dev` handle. [1] Commit ca2e3bce0 (pcidev.c: populate IDs with pci_fill_info()) Signed-off-by: Nico Huber <nico.h@gmx.de> Change-Id: Iae2511178bec44343cbe902722fdca9eda036059 Ticket: https://ticket.coreboot.org/issues/367 Reviewed-on: https://review.coreboot.org/c/flashrom/+/64573 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'stm50.c')
0 files changed, 0 insertions, 0 deletions