dm: pci: change bus number register setting compliant with Linux
authorMinghuan Lian <Minghuan.Lian@nxp.com>
Fri, 20 Oct 2017 02:45:50 +0000 (10:45 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 17 Nov 2017 15:53:45 +0000 (10:53 -0500)
commit3977dcd559e392b9a2f3c69e317527cbe8b6ae15
tree84c91000d21dcce79230b794f25296591157a463
parent9587dee937bcedc07d06af4aafd4361c8c200023
dm: pci: change bus number register setting compliant with Linux

This patch is to change U-Boot PCI bus assignement compliant with Linux.
It means each PCIe controller's bus number is 0, not the current maximum
PCI bus number, when start to scan this controller.

Signed-off-by: Minghuan Lian <Minghuan.Lian@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/pci/pci_auto.c
drivers/pci/pcie_dw_mvebu.c
drivers/pci/pcie_layerscape.c