Hi Simon, On Fri, Sep 11, 2015 at 4:41 AM, Simon Glass <s...@chromium.org> wrote: > Hi Bin, > > On 9 September 2015 at 21:58, Simon Glass <s...@chromium.org> wrote: >> On 3 September 2015 at 06:37, Bin Meng <bmeng...@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...@gmail.com> >>> Acked-by: Simon Glass <s...@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! > > Sorry, I did not end up bringing this in from testing. > > This causes build errors on quite a few boards - can you please take a look: > > w+../include/pci.h: In function 'device_is_on_pci_bus': > w+../include/pci.h:1287:2: warning: implicit declaration of function > 'device_get_uclass_id' [-Wimplicit-function-declaration] > > boards: > > alt,sniper,omap3_zoom1,p2571,omap3_beagle,mx6sxsabresd_spl,mx6ul_14x14_evk,devkit3250,apalis_t30,pcm051_rev3,pcm051_rev1,gose,venice2,ls2085ardb,mx6dlsabreauto,cm_t43,whistler,igep0030_nand,silk,am335x_boneblack,cairo,wandboard,birdland_bav335a,birdland_bav335b,mx6slevk_spl,am335x_evm_usbspl,igep0032,igep0030,devkit8000,chromebook_jerry,mx6qsabrelite,s5p_goni,snapper9g20,mx6sxsabresd,mx6dlsabresd,rpi_2,am335x_evm_nor,pengwyn,work_92105,tec-ng,trimslice,rpi,colibri_t30,igep0020,mx6cuboxi,cm_t335,ls2085aqds,beaver,am335x_baltos,mx6slevk_spinor,snapper9260,firefly-rk3288,jetson-tk1,mx6qsabresd,udoo,mx6sabresd_spl,igep0020_nand,am335x_evm_norboot,plutux,dalmore,marsboard,cgtqmx6qeval,am335x_evm_spiboot,lager,am335x_evm,cm_fx6,riotboard,omap3_logic,porter,pepper,omap3_overo,mx6slevk,am335x_boneblack_vboot,mx6qsabreauto,mx6qpsabreauto,am335x_gp_evm,p2371-0000,koelsch,am335x_igep0033,cardhu,e2220-1170 >
Sorry, please check the v5 series @ http://patchwork.ozlabs.org/patch/516672/ Regards, Bin _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot