mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-26 13:44:29 +08:00
pci: layerscape: fix a dead loop issue
Fixes: commit 8ec619f8fd
("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>
This commit is contained in:
parent
8114791aeb
commit
ee7c1225e3
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user