projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbcb2ff
)
powerpc: T208xRDB: Compile legacy PCIe routines conditionally
author
Hou Zhiqiang
<Zhiqiang.Hou@nxp.com>
Tue, 27 Aug 2019 11:02:52 +0000
(11:02 +0000)
committer
Prabhakar Kushwaha
<prabhakar.kushwaha@nxp.com>
Wed, 28 Aug 2019 08:17:44 +0000
(13:47 +0530)
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>
board/freescale/t208xrdb/pci.c
patch
|
blob
|
history
diff --git
a/board/freescale/t208xrdb/pci.c
b/board/freescale/t208xrdb/pci.c
index 161b8cb403a13fddafa8fdc358627243f32d6431..adc128d9241724ea7c7107360256846c6a4c027b 100644
(file)
--- 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