]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: fsp: Call fsp_init_phase_pci() in pci_uclass_post_probe()
authorBin Meng <bmeng.cn@gmail.com>
Thu, 20 Aug 2015 13:40:23 +0000 (06:40 -0700)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:46 +0000 (11:29 +0200)
commit53022a2dea4f5a121d1b4b366856a81fda8120ce
tree275d90eba498ee58b4c0a0a15531ec7feb54dfdd
parenta736b946a4391cc9dc665e3c2999c7ba02735b31
x86: fsp: Call fsp_init_phase_pci() in pci_uclass_post_probe()

Per Intel FSP specification, we should call FSP notify API to
inform FSP that PCI enumeration has been done so that FSP will
do any necessary initialization as required by the chipset's
BIOS Writer's Guide (BWG).

Unfortunately we have to put this call here as with driver model,
the enumeration is all done on a lazy basis as needed, so until
something is touched on PCI it won't happen.

Note we only call this after U-Boot is relocated and root bus has
finished probing.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
drivers/pci/pci-uclass.c