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

Simon Glass sjg at chromium.org
Thu Jan 31 10:04:27 UTC 2019


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>


More information about the U-Boot mailing list