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

Bin Meng bmeng.cn at gmail.com
Thu Jan 31 14:38:44 UTC 2019


On Fri, Jan 25, 2019 at 6:52 PM 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: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list