aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/pcie_layerscape_ep.c
diff options
context:
space:
mode:
authorXiaowei Bao2020-07-09 23:31:40 +0800
committerPriyanka Jain2020-07-27 14:24:15 +0530
commit80b5a662b7565928c97be9bc6e0a455e7f29dc75 (patch)
treeea6e339b663a63daaacf1c5c27e8962fbae525f9 /drivers/pci/pcie_layerscape_ep.c
parent83bf32e680f91d3698ea34790e9cef877f3a8dd1 (diff)
pci: layerscape: Modify the ls_pcie_dump_atu function
Modify the ls_pcie_dump_atu function, make it can print the INBOUND windows registers. Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com> Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/pci/pcie_layerscape_ep.c')
-rw-r--r--drivers/pci/pcie_layerscape_ep.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/pcie_layerscape_ep.c b/drivers/pci/pcie_layerscape_ep.c
index cbf73e72c18..52d6397064d 100644
--- a/drivers/pci/pcie_layerscape_ep.c
+++ b/drivers/pci/pcie_layerscape_ep.c
@@ -227,6 +227,9 @@ static void ls_pcie_setup_ep(struct ls_pcie_ep *pcie_ep)
ls_pcie_ep_setup_atu(pcie_ep, 0);
}
+ ls_pcie_dump_atu(pcie, PCIE_ATU_REGION_NUM_SRIOV,
+ PCIE_ATU_REGION_INBOUND);
+
ls_pcie_ep_enable_cfg(pcie_ep);
}