[U-Boot] [PATCH 07/18] dm: pci: Add a function to get the BDF for a device

Simon Glass sjg at chromium.org
Thu Jul 23 01:40:55 CEST 2015


On 6 July 2015 at 16:47, Simon Glass <sjg at chromium.org> wrote:
> It is useful to be able to find the full PCI address (bus, device and
> function) for a PCI device. Add a function to provide this.
>
> Adjust the existing code to use this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  drivers/pci/pci-uclass.c | 15 +++++++++------
>  drivers/pci/pci_compat.c |  8 ++------
>  include/pci.h            |  8 ++++++++
>  3 files changed, 19 insertions(+), 12 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list