projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c47a2
)
powerpc: T208xQDS: Compile the legacy PCIe routines conditionally
author
Hou Zhiqiang
<Zhiqiang.Hou@nxp.com>
Mon, 22 Apr 2019 13:58:13 +0000
(21:58 +0800)
committer
Prabhakar Kushwaha
<prabhakar.kushwaha@nxp.com>
Thu, 20 Jun 2019 05:14:10 +0000
(10:44 +0530)
Compile the legacy PCIe initialization reoutines only when DM_PCI
is 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>
board/freescale/t208xqds/pci.c
patch
|
blob
|
history
diff --git
a/board/freescale/t208xqds/pci.c
b/board/freescale/t208xqds/pci.c
index c761aea0ac09bb3fd53d577e51dd8e83ed163ec4..ef26f14c461c08e6f3be9f91426582106d8fdf4d 100644
(file)
--- a/
board/freescale/t208xqds/pci.c
+++ b/
board/freescale/t208xqds/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