]> git.sur5r.net Git - u-boot/commit
dm: pci: remove pci_bus_to_hose(0) calling
authorMinghuan Lian <Minghuan.Lian@nxp.com>
Tue, 13 Dec 2016 06:54:10 +0000 (14:54 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 18 Jan 2017 17:25:22 +0000 (09:25 -0800)
commitfcf45692b7ea63f7947e60fa6425f1c8aceae4ae
tree1b6f297843b5926f56a315f2da340c4111978dd0
parentd7482ca4265fbe4065b28ace998636f78406ed95
dm: pci: remove pci_bus_to_hose(0) calling

There may be multiple PCIe controllers in a SoC.
It is not correct that always calling pci_bus_to_hose(0) to get
the first PCIe controller for the PCIe device connected other
controllers. We just remove this calling because hose always point
the correct PCIe controller.

Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/pci/pci_common.c