]> git.karo-electronics.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)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:12 +0000 (07:54 -0700)
commit348b744b7c6528c0509e2a0b0740be3ce949497f
tree326700443e4e7bcc4af4e03db5643bc5e6b4377e
parentfa6af7b4e00cd06138375999d04dd2cd6a515664
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