From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-cys01nam02on0073.outbound.protection.outlook.com ([104.47.37.73]:10655 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753057AbdHWG0i (ORCPT ); Wed, 23 Aug 2017 02:26:38 -0400 From: Zhiqiang Hou To: , , , CC: , , , , , , Hou Zhiqiang Subject: [PATCHv4 1/9] PCI: layerscape: Add dw_pcie_setup_rc to ls-pcie common host init Date: Wed, 23 Aug 2017 14:08:48 +0800 Message-ID: <20170823060856.9387-2-Zhiqiang.Hou@nxp.com> In-Reply-To: <20170823060856.9387-1-Zhiqiang.Hou@nxp.com> References: <20170823060856.9387-1-Zhiqiang.Hou@nxp.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-pci-owner@vger.kernel.org List-ID: From: Hou Zhiqiang This function has been added to ls1021a host init function, but lost to add to layerscape common host init, so other platforms still use the setups from bootloader. Signed-off-by: Hou Zhiqiang --- V4: - no change drivers/pci/dwc/pci-layerscape.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/pci/dwc/pci-layerscape.c b/drivers/pci/dwc/pci-layerscape.c index 7581490f007c..aebefb42377a 100644 --- a/drivers/pci/dwc/pci-layerscape.c +++ b/drivers/pci/dwc/pci-layerscape.c @@ -165,6 +165,8 @@ static int ls_pcie_host_init(struct pcie_port *pp) ls_pcie_drop_msg_tlp(pcie); iowrite32(0, pci->dbi_base + PCIE_DBI_RO_WR_EN); + dw_pcie_setup_rc(pp); + return 0; } -- 2.14.1