]> git.ipfire.org Git - people/ms/u-boot.git/commit
dm: pci: Support selected device/driver binding before relocation
authorBin Meng <bmeng.cn@gmail.com>
Thu, 20 Aug 2015 13:40:17 +0000 (06:40 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 26 Aug 2015 14:54:11 +0000 (07:54 -0700)
commit08fc7b8fac1d27d7e9f964309cbc32de0abd2c0d
treedfe0be588168641e42143b51b0373706368eb530
parentf86f0c1897436e03b0e68874a56b257080d01386
dm: pci: Support selected device/driver binding before relocation

On some platforms pci devices behind bridge need to be probed (eg:
a pci uart on recent x86 chipset) before relocation. But we won't
bind all devices found during the enumeration. Only devices whose
driver with DM_FLAG_PRE_RELOC set will be bound. Any other generic
devices except bridges won't be bound.

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