pci: pci-uclass: Add board_pci_fixup_dev for DM_PCI

Add a board_pci_fixup_dev weak function to allow PCI device fixups
during enumeration.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
Tim Harvey
2021-04-16 14:53:47 -07:00
committed by Stefano Babic
parent 19e1b8d9b2
commit cecd013fdf
2 changed files with 14 additions and 0 deletions

View File

@@ -1690,6 +1690,14 @@ int sandbox_pci_get_emul(const struct udevice *bus, pci_dev_t find_devfn,
*/
int sandbox_pci_get_client(struct udevice *emul, struct udevice **devp);
/**
* board_pci_fixup_dev() - Board callback for PCI device fixups
*
* @bus: PCI bus
* @dev: PCI device
*/
extern void board_pci_fixup_dev(struct udevice *bus, struct udevice *dev);
#endif /* CONFIG_DM_PCI */
/**