mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
pci: add support for board_pci_fixup_dev function
Some board-level drivers may wish to have per-device fixup functions for PCI devices. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
parent
206f38f727
commit
0991866cf7
2 changed files with 11 additions and 0 deletions
|
@ -659,6 +659,13 @@ extern int pci_hose_find_cap_start(struct pci_controller *hose, pci_dev_t dev,
|
|||
extern int pci_find_cap(struct pci_controller *hose, pci_dev_t dev, int pos,
|
||||
int cap);
|
||||
|
||||
#ifdef CONFIG_PCI_FIXUP_DEV
|
||||
extern void board_pci_fixup_dev(struct pci_controller *hose, pci_dev_t dev,
|
||||
unsigned short vendor,
|
||||
unsigned short device,
|
||||
unsigned short class);
|
||||
#endif
|
||||
|
||||
const char * pci_class_str(u8 class);
|
||||
int pci_last_busno(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue