diff options
author | Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> | 2020-05-12 10:59:49 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-08-14 16:43:21 +0300 |
commit | 143eb5b1caf1d2f3f37dd9f2c26936df5949d367 (patch) | |
tree | 8ff8fa828d84b2b7088d69e3c9c1fed481ec3b5a /include | |
parent | fe5c777df26dab302cbb26d5f05655e27b714987 (diff) | |
download | u-boot-143eb5b1caf1d2f3f37dd9f2c26936df5949d367.tar.xz |
drivers: pci: add api to get dma regions
Add api to get dma regions.
Signed-off-by: Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/pci.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pci.h b/include/pci.h index 281f353916..2089db9f16 100644 --- a/include/pci.h +++ b/include/pci.h @@ -1315,7 +1315,8 @@ struct udevice *pci_get_controller(struct udevice *dev); */ int pci_get_regions(struct udevice *dev, struct pci_region **iop, struct pci_region **memp, struct pci_region **prefp); - +int +pci_get_dma_regions(struct udevice *dev, struct pci_region *memp, int index); /** * dm_pci_write_bar32() - Write the address of a BAR * |