[U-Boot] board_pci_pre_scan() and board_pci_post_scan()

Simon Glass sjg at chromium.org
Mon Aug 3 00:31:28 CEST 2015


Hi Bin,

On 27 July 2015 at 01:45, Bin Meng <bmeng.cn at gmail.com> wrote:
> Hi Simon,
>
> With driver model pci conversion on x86 boards, we now missed the call
> to board_pci_pre_scan() and board_pci_post_scan() which are called in
> the non-dm path. For example, board_pci_post_scan() in
> arch/x86/lib/fsp/fsp_common.c is not called to do any work as
> requested by FSP after pci enumeration.
>
> I am not sure where we could insert these call back in the dm. Do you
> have any possible solution on this?

I know that the post-scan is needed for FSP - and in fact for
Minnowmax I added in back in a recent patch[1]. What is the pre-scan
used for?

Regards,
Simon

[1] http://patchwork.ozlabs.org/patch/500864/


More information about the U-Boot mailing list