[U-Boot] [U-boot] use of CONFIG_SYS_EARLY_PCI_INIT with DM PCI

Suneel Garapati suneelglinux at gmail.com
Thu Apr 27 11:29:35 UTC 2017


Hi Tom/Simon,

Request to help on below query.

Regards,
Suneel
On Tue, Apr 25, 2017 at 16:25 Suneel Garapati <suneelglinux at gmail.com>
wrote:

> Hi Simon,
>
> Request your inputs on below query -
>
> Boards I work on have most of the devices on PCI bus, driver model
> support enabled, would like to use CONFIG_SYS_EARLY_PCI_INIT to call
> pci_init but the below snippet would hinder.
>
>  #ifdef CONFIG_PCI
>  static int initr_pci(void)
>  {
> -#ifndef CONFIG_DM_PCI
>         pci_init();
> -#endif
> ....
>
> Is this change valid or should create another config item for driver
> model based early pci init?
>
> Regards,
> Suneel
>


More information about the U-Boot mailing list