[U-Boot] [PATCH 1/4 v3] pci: Add pci_get_devfn() to extract devfn from the fdt_pci_addr

Stefan Roese sr at denx.de
Tue Feb 5 13:26:14 UTC 2019


On 31.01.19 11:04, Simon Glass wrote:
> On Fri, 25 Jan 2019 at 03:52, Stefan Roese <sr at denx.de> wrote:
>>
>> 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 at denx.de>
>> Cc: Simon Glass <sjg at chromium.org>
>> Cc: Bin Meng <bmeng.cn at gmail.com>
>> ---
>> v3:
>> - New patch, replaces "[PATCH] core: ofnode: Add ofnode_pci_get_devfn()"
>>
>>   drivers/pci/pci-uclass.c | 28 +++++++++++++++++++---------
>>   include/pci.h            | 10 ++++++++++
>>   2 files changed, 29 insertions(+), 9 deletions(-)
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-marvell/master

Thanks,
Stefan


More information about the U-Boot mailing list