diff options
author | Simon Glass <sjg@chromium.org> | 2015-08-31 18:55:35 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-09-09 07:48:03 -0600 |
commit | 983c6ba227e192c79b1df82853d8bacd40e1e989 (patch) | |
tree | c2685a05573b12c7bbbb431399de140ba367b8ed /scripts/Makefile.lib | |
parent | 8270e3c12eefbbb785ae145835cb0349091e257a (diff) | |
download | u-boot-imx-983c6ba227e192c79b1df82853d8bacd40e1e989.zip u-boot-imx-983c6ba227e192c79b1df82853d8bacd40e1e989.tar.gz u-boot-imx-983c6ba227e192c79b1df82853d8bacd40e1e989.tar.bz2 |
dm: pci: Allow a PCI bus to be found without an alias
At present, until a PCI bus is probed, it cannot be found by its sequence
number unless it has an alias. This is the same with any device.
However with PCI this is more annoying than usual, since bus 0 is always the
same device.
Add a function that tries a little harder to locate PCI bus 0. This means
that PCI enumeration will happen automatically on the first access.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions