]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitd445bbcaba1eb1f73337f2898580037e7c96aef0
tree84c91000d21dcce79230b794f25296591157a463
parentdb476f8f6d3ee93d37a7e446f90fd843f24fb68d
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