提交 f9c0c79a 编写于 作者: H Hou Zhiqiang 提交者: Prabhakar Kushwaha

powerpc: T4RDB: Compile legacy PCIe routines conditionally

Compile the legacy PCIe initialization routines only when
DM_PCI is not enabled.
Signed-off-by: NHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
Reviewed-by: NPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
上级 57afc23c
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <fdt_support.h> #include <fdt_support.h>
#include <asm/fsl_serdes.h> #include <asm/fsl_serdes.h>
#if !defined(CONFIG_DM_PCI)
void pci_init_board(void) void pci_init_board(void)
{ {
fsl_pcie_init_board(0); fsl_pcie_init_board(0);
...@@ -20,3 +21,4 @@ void pci_of_setup(void *blob, bd_t *bd) ...@@ -20,3 +21,4 @@ void pci_of_setup(void *blob, bd_t *bd)
{ {
FT_FSL_PCI_SETUP; FT_FSL_PCI_SETUP;
} }
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册