PCI: rockchip: dw-ep: Detecting ATU features to achieve DWC ATU interface development

Change-Id: I53b48c5318aeeef6c39ea4a72c7f1f703bcb5a8e
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
This commit is contained in:
Jon Lin
2024-11-29 15:40:27 +08:00
committed by Tao Huang
parent c6d9d4543e
commit 9a58cb0abe

View File

@@ -707,6 +707,9 @@ static int rockchip_pcie_config_host(struct rockchip_pcie *rockchip)
u32 reg, val;
int ret, retry, i;
/* Detecting ATU features to achieve DWC ATU interface development */
dw_pcie_iatu_detect(&rockchip->pci);
if (dw_pcie_link_up(&rockchip->pci))
goto already_linkup;
else