diff options
| author | Tom Rini <[email protected]> | 2020-08-25 10:24:40 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2020-08-25 13:38:29 -0400 |
| commit | 9f9ecd3e4d7839e24c182fb7b24937e19b670f1b (patch) | |
| tree | 4250ad58dba47ae6127d4129b9a19dc648fd064d /include/dm | |
| parent | ec54217ddc6f52f3b7dad7a3fd6d8a3abd64ab7e (diff) | |
| parent | 6944937f9c4d21f39dd257bce7b677a0f6849cea (diff) | |
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell
- Add basic Marvell/Cavium OcteonTX/TX2 support (Suneel)
- Infrastructure changes to PCI uclass to support these SoC's (Suneel)
- Add PCI, MMC & watchdog driver drivers for OcteonTX/TX2 (Suneel)
- Increase CONFIG_SYS_MALLOC_F_LEN for qemu-x86 (Stefan)
Diffstat (limited to 'include/dm')
| -rw-r--r-- | include/dm/read.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/dm/read.h b/include/dm/read.h index 0a7aacd2d04..67db94adfc1 100644 --- a/include/dm/read.h +++ b/include/dm/read.h @@ -680,6 +680,18 @@ int dev_read_alias_highest_id(const char *stem); */ int dev_get_child_count(const struct udevice *dev); +/** + * dev_read_pci_bus_range - Read PCI bus-range resource + * + * Look at the bus range property of a device node and return the pci bus + * range for this node. + * + * @dev: device to examine + * @res returns the resource + * @return 0 if ok, negative on error + */ +int dev_read_pci_bus_range(const struct udevice *dev, struct resource *res); + #else /* CONFIG_DM_DEV_READ_INLINE is enabled */ static inline int dev_read_u32(const struct udevice *dev, |
