From mboxrd@z Thu Jan 1 00:00:00 1970 From: Z.q. Hou Date: Thu, 23 May 2019 12:22:10 +0000 Subject: [U-Boot] [PATCHv2 3/8] powerpc: mpc85xx: Update the condition to compile PCI routines In-Reply-To: <20190523122327.37264-1-Zhiqiang.Hou@nxp.com> References: <20190523122327.37264-1-Zhiqiang.Hou@nxp.com> Message-ID: <20190523122327.37264-4-Zhiqiang.Hou@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Hou Zhiqiang Compile the routines of mpc85xx/pci.c when both FSL_PCI_INIT and DM_PCI are not enabled. Signed-off-by: Hou Zhiqiang Reviewed-by: Simon Glass --- 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 #include -#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