mirror of
https://xff.cz/git/u-boot/
synced 2025-09-07 03:32:20 +02:00
powerpc: mpc85xx: Update the condition to compile PCI routines
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> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
This commit is contained in:
committed by
Prabhakar Kushwaha
parent
2b12f6cfe6
commit
82c47a21e7
@@ -12,7 +12,7 @@
|
|||||||
#include <asm/cpm_85xx.h>
|
#include <asm/cpm_85xx.h>
|
||||||
#include <pci.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
|
#ifndef CONFIG_SYS_PCI1_MEM_BUS
|
||||||
#define CONFIG_SYS_PCI1_MEM_BUS CONFIG_SYS_PCI1_MEM_BASE
|
#define CONFIG_SYS_PCI1_MEM_BUS CONFIG_SYS_PCI1_MEM_BASE
|
||||||
|
Reference in New Issue
Block a user