summaryrefslogtreecommitdiff
path: root/include/pci.h
diff options
context:
space:
mode:
authorMoritz Fischer <moritzf@google.com>2024-01-10 04:59:02 +0000
committerTom Rini <trini@konsulko.com>2024-01-18 20:24:13 -0500
commit040834703497bafb81fce88a92d8e54c8837fcaa (patch)
tree4e8d159c1b5f0138c852d987af38f7da2e5f0980 /include/pci.h
parent21a2c129adaab04a7a032a31c816ae09375fe954 (diff)
downloadu-boot-040834703497bafb81fce88a92d8e54c8837fcaa.tar.gz
u-boot-040834703497bafb81fce88a92d8e54c8837fcaa.tar.bz2
u-boot-040834703497bafb81fce88a92d8e54c8837fcaa.zip
drivers: pci: Fix dm_pci_map_bar() to support 64b BARs
This enables 64b BARs if CONFIG_SYS_PCI_64BIT is enabled. Reviewed-by: Philip Oberfichtner <pro@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Moritz Fischer <moritzf@google.com>
Diffstat (limited to 'include/pci.h')
-rw-r--r--include/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pci.h b/include/pci.h
index 2f5eb30b83..aad233769a 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -1354,6 +1354,7 @@ pci_addr_t dm_pci_phys_to_bus(struct udevice *dev, phys_addr_t addr, size_t len,
* type 1 functions.
* Can also be used on type 0 functions that support Enhanced Allocation for
* 32b/64b BARs. Note that duplicate BEI entries are not supported.
+ * Can also be used on 64b bars on type 0 functions.
*
* @dev: Device to check
* @bar: Bar register offset (PCI_BASE_ADDRESS_...)