summaryrefslogtreecommitdiff
path: root/board/freescale/t208xrdb
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2019-08-27 11:02:52 +0000
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2019-08-28 13:47:44 +0530
commitfb0d98da83b25143e84a558876a64af2cd799a39 (patch)
tree99224e0c0a8e7d073609ffa750a100232f50c6f5 /board/freescale/t208xrdb
parentfbcb2ff5c6477c7d2ddc9f54967a5cfc21aefbed (diff)
downloadu-boot-fb0d98da83b25143e84a558876a64af2cd799a39.tar.gz
u-boot-fb0d98da83b25143e84a558876a64af2cd799a39.tar.bz2
u-boot-fb0d98da83b25143e84a558876a64af2cd799a39.zip
powerpc: T208xRDB: Compile legacy PCIe routines conditionally
Compile the legacy PCIe initialization routines only when DM_PCI is not enabled. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Diffstat (limited to 'board/freescale/t208xrdb')
-rw-r--r--board/freescale/t208xrdb/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/t208xrdb/pci.c b/board/freescale/t208xrdb/pci.c
index 161b8cb403..adc128d924 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