diff options
| author | Hou Zhiqiang <[email protected]> | 2019-08-27 11:03:41 +0000 |
|---|---|---|
| committer | Prabhakar Kushwaha <[email protected]> | 2019-08-28 13:47:45 +0530 |
| commit | 6aefcc8cc79e1c5d3b66b29576d456c30435b8d7 (patch) | |
| tree | 6bc6b6e02f5b04d6ed6e0e352f1de25ff3fd2a89 | |
| parent | 50801d4eb0285d268ff64061a125de643956ba79 (diff) | |
powerpc: T104xRDB: Compile legacy PCIe routines conditionally
Compile the legacy PCIe initialization routines only when
DM_PCI is not enabled.
Signed-off-by: Hou Zhiqiang <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
Reviewed-by: Prabhakar Kushwaha <[email protected]>
| -rw-r--r-- | board/freescale/t104xrdb/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/freescale/t104xrdb/pci.c b/board/freescale/t104xrdb/pci.c index 9fd66594f4a..6b666ba2d24 100644 --- a/board/freescale/t104xrdb/pci.c +++ b/board/freescale/t104xrdb/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 |
