diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2020-10-26 11:57:42 +0800 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-12-10 13:56:39 +0530 |
commit | ee7c1225e3d8b3871833f4cbd80e122cb5fa52d2 (patch) | |
tree | 928ae605680464339f2af1e90c39af12e07440aa /drivers/pci | |
parent | 8114791aeb220b81e706fef60ea899d3ea1f086b (diff) | |
download | u-boot-ee7c1225e3d8b3871833f4cbd80e122cb5fa52d2.zip u-boot-ee7c1225e3d8b3871833f4cbd80e122cb5fa52d2.tar.gz u-boot-ee7c1225e3d8b3871833f4cbd80e122cb5fa52d2.tar.bz2 |
pci: layerscape: fix a dead loop issue
Fixes: commit 8ec619f8fd84 ("pci: layerscape: Fixup PCIe EP
mode DT nodes for LX2160A rev2")
This added the PCIe EP nodes fixup of LX2160A, but it
didn't update the condition value when there isn't a
property 'apio-wins'.
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
[Fixed checkpatch error]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pcie_layerscape_fixup_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/pcie_layerscape_fixup_common.c b/drivers/pci/pcie_layerscape_fixup_common.c index 77d1573..40f0ef1 100644 --- a/drivers/pci/pcie_layerscape_fixup_common.c +++ b/drivers/pci/pcie_layerscape_fixup_common.c @@ -99,6 +99,8 @@ int lx2_board_fix_fdt(void *fdt) if (!prop) { printf("%s: Failed to fixup PCIe EP node @0x%x\n", __func__, off); + off = fdt_node_offset_by_compatible(fdt, off, + "fsl,lx2160a-pcie-ep"); continue; } |