summaryrefslogtreecommitdiff
path: root/common/main.c
diff options
context:
space:
mode:
authorKonstantin Porotchkin <kostap@marvell.com>2017-03-28 15:36:34 (GMT)
committerStefan Roese <sr@denx.de>2017-05-09 11:38:17 (GMT)
commit3f75e0ce7badc7db03885f8b925a5f47cad29cac (patch)
treef6a77a1b9a6a240330f8968adbb3d7c75c9201c2 /common/main.c
parent2f720f195792bb29289827ef9512e0366a81933b (diff)
downloadu-boot-fsl-qoriq-3f75e0ce7badc7db03885f8b925a5f47cad29cac.tar.xz
fix: mvebu: pcie_dw: Allow probing empty PCIe slots
This patch allows probing all PCIe nodes defined in DTS even if there no device connected to such node (no link). Without this fix the driver returns -ENODEV when the PCIe link is down. As result the pci_init function stops scanning bus on first empty PCIe slot and all devices located in higher numbered buses are not discovered. Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Cc: Stefan Roese <sr@denx.de> Cc: Igal Liberman <igall@marvell.com> Cc: Nadav Haklai <nadavh@marvell.com> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'common/main.c')
0 files changed, 0 insertions, 0 deletions