commit | a74eb5501f45839282911bbedfed34434ce61839 | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Fri Jan 25 11:52:42 2019 +0100 |
committer | Stefan Roese <sr@denx.de> | Tue Feb 05 14:22:24 2019 +0100 |
tree | 82a451e32969f8ee4d49448b82f751ecdb816f41 | |
parent | 24c5da1344a39066e639dd353b047a9ade7d6f79 [diff] |
pci: Add pci_get_devfn() to extract devfn from the fdt_pci_addr This function will be used by the Marvell Armada XP/38x PCIe driver, which is moved to DM right now. So let's extract the functionality from pci_uclass_child_post_bind() to make it available. Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>