All of lore.kernel.org
 help / color / mirror / Atom feed
From: Z.q. Hou <zhiqiang.hou@nxp.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCHv2 3/8] powerpc: mpc85xx: Update the condition to compile PCI routines
Date: Thu, 23 May 2019 12:22:10 +0000	[thread overview]
Message-ID: <20190523122327.37264-4-Zhiqiang.Hou@nxp.com> (raw)
In-Reply-To: <20190523122327.37264-1-Zhiqiang.Hou@nxp.com>

From: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>

Compile the routines of mpc85xx/pci.c when both FSL_PCI_INIT
and DM_PCI are not enabled.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
---
V2:
 - No change.

 arch/powerpc/cpu/mpc85xx/pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/cpu/mpc85xx/pci.c b/arch/powerpc/cpu/mpc85xx/pci.c
index 90ccc3427c..1d0213a513 100644
--- a/arch/powerpc/cpu/mpc85xx/pci.c
+++ b/arch/powerpc/cpu/mpc85xx/pci.c
@@ -12,7 +12,7 @@
 #include <asm/cpm_85xx.h>
 #include <pci.h>
 
-#if !defined(CONFIG_FSL_PCI_INIT)
+#if !defined(CONFIG_FSL_PCI_INIT) && !defined(CONFIG_DM_PCI)
 
 #ifndef CONFIG_SYS_PCI1_MEM_BUS
 #define CONFIG_SYS_PCI1_MEM_BUS CONFIG_SYS_PCI1_MEM_BASE
-- 
2.17.1

  parent reply	other threads:[~2019-05-23 12:22 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23 12:21 [U-Boot] [PATCHv2 0/8] dm: pci: add Freescale PowerPC PCIe driver Z.q. Hou
2019-05-23 12:22 ` [U-Boot] [PATCHv2 1/8] powerpc: mpc85xx: Move CONFIG_FSL_PCIE_DISABLE_ASPM to Kconfig Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 2/8] powerpc: mpc85xx: Move CONFIG_FSL_PCIE_RESET " Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` Z.q. Hou [this message]
2019-06-20  9:44   ` [U-Boot] [PATCHv2 3/8] powerpc: mpc85xx: Update the condition to compile PCI routines Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 4/8] powerpc: T208xQDS: Compile the legacy PCIe routines conditionally Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 5/8] t2080: dts: Added PCIe DT nodes Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 6/8] dm: pci: add Freescale PowerPC PCIe driver Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 7/8] powerpc: T208xQDS: Disable legacy " Z.q. Hou
2019-06-20  9:44   ` Prabhakar Kushwaha
2019-05-23 12:22 ` [U-Boot] [PATCHv2 8/8] configs: T2080QDS: Enable " Z.q. Hou
2019-05-23 14:23   ` Bin Meng
2019-05-23 16:04     ` Z.q. Hou
2019-05-24  0:10       ` Bin Meng
2019-05-24  2:10         ` [U-Boot] [EXT] " Xiaowei Bao
2019-05-24  2:13           ` Bin Meng
2019-05-24  2:17             ` Xiaowei Bao
2019-05-24  5:23               ` Prabhakar Kushwaha
2019-05-24  6:02                 ` Xiaowei Bao
2019-05-24  8:17             ` Z.q. Hou
2019-05-24  9:38               ` Bin Meng
2019-05-24 14:12                 ` Z.q. Hou
2019-06-18  0:37                   ` Prabhakar Kushwaha
2019-06-20  9:44   ` [U-Boot] " Prabhakar Kushwaha

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190523122327.37264-4-Zhiqiang.Hou@nxp.com \
    --to=zhiqiang.hou@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.