Message ID | 20190723130938.47805-2-Zhiqiang.Hou@nxp.com |
---|---|
State | Superseded |
Delegated to: | Prabhakar Kushwaha |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=nxp.com Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45tK035qMNz9s4Y for <incoming@patchwork.ozlabs.org>; Tue, 23 Jul 2019 23:22:27 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 13266C21ECE; Tue, 23 Jul 2019 13:19:52 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 5582EC21DA1; Tue, 23 Jul 2019 13:19:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id AB393C21C50; Tue, 23 Jul 2019 13:19:32 +0000 (UTC) Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lists.denx.de (Postfix) with ESMTPS id 8DAA7C21C38 for <u-boot@lists.denx.de>; Tue, 23 Jul 2019 13:19:32 +0000 (UTC) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 5DAE42002E4; Tue, 23 Jul 2019 15:19:32 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id E0CF420001E; Tue, 23 Jul 2019 15:19:28 +0200 (CEST) Received: from titan.ap.freescale.net (TITAN.ap.freescale.net [10.192.208.233]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 4AC1F40309; Tue, 23 Jul 2019 21:19:24 +0800 (SGT) From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> To: u-boot@lists.denx.de, prabhakar.kushwaha@nxp.com, wd@denx.de, priyanka.jain@nxp.com, Shengzhou.Liu@nxp.com Date: Tue, 23 Jul 2019 21:08:52 +0800 Message-Id: <20190723130938.47805-2-Zhiqiang.Hou@nxp.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190723130938.47805-1-Zhiqiang.Hou@nxp.com> References: <20190723130938.47805-1-Zhiqiang.Hou@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Cc: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Subject: [U-Boot] [PATCH 01/47] powerpc: T208xRDB: Compile legacy PCIe routines conditionally X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <http://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> |
Series |
powerpc: Enable PCIe DM drvier for some platforms
|
expand
|
On Tue, Jul 23, 2019 at 9:21 PM Hou Zhiqiang <Zhiqiang.Hou@nxp.com> wrote: > > Compile the legacy PCIe initialization reoutines only when > DM_PCI is not enabled. > > Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> > --- > board/freescale/t208xrdb/pci.c | 2 ++ > 1 file changed, 2 insertions(+) > Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
diff --git a/board/freescale/t208xrdb/pci.c b/board/freescale/t208xrdb/pci.c index 161b8cb..adc128d 100644 --- a/board/freescale/t208xrdb/pci.c +++ b/board/freescale/t208xrdb/pci.c @@ -11,6 +11,7 @@ #include <fdt_support.h> #include <asm/fsl_serdes.h> +#if !defined(CONFIG_DM_PCI) void pci_init_board(void) { fsl_pcie_init_board(0); @@ -20,3 +21,4 @@ void pci_of_setup(void *blob, bd_t *bd) { FT_FSL_PCI_SETUP; } +#endif
Compile the legacy PCIe initialization reoutines only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> --- board/freescale/t208xrdb/pci.c | 2 ++ 1 file changed, 2 insertions(+)