aboutsummaryrefslogtreecommitdiff
path: root/board/freescale/t4rdb/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/freescale/t4rdb/pci.c')
-rw-r--r--board/freescale/t4rdb/pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/t4rdb/pci.c b/board/freescale/t4rdb/pci.c
index 4100370e209..7d670e1a2f8 100644
--- a/board/freescale/t4rdb/pci.c
+++ b/board/freescale/t4rdb/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