
17 Sep
2015
17 Sep
'15
8:52 p.m.
On 15 September 2015 at 07:51, Simon Glass sjg@chromium.org wrote:
On 11 September 2015 at 04:24, Bin Meng bmeng.cn@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@gmail.com
Changes in v5:
- Move the inline API from include/pci.h to include/dm/device.h to resolve the cyclic dependency
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/dm/device.h | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-)
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-x86, thanks!