[U-Boot] [PATCH v4 08/11] dm: pci: Add an inline API to test if a device is on a PCI bus

Simon Glass sjg at chromium.org
Thu Sep 10 05:58:42 CEST 2015


On 3 September 2015 at 06:37, Bin Meng <bmeng.cn at gmail.com> wrote:
> Introduce device_is_on_pci_bus() which can be utilized by driver
> to test if a device is on a PCI bus.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> Changes in v4: None
> Changes in v3: None
> Changes in v2:
> - New patch to add an inline API to test if a device is on a PCI bus
>
>  drivers/pci/pci-uclass.c |  4 ++--
>  include/pci.h            | 15 +++++++++++++++
>  2 files changed, 17 insertions(+), 2 deletions(-)

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list