aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2021-11-23 07:28:00 +0100
committerPriyanka Jain <priyanka.jain@nxp.com>2022-02-01 15:08:07 +0530
commitc702cfc7f224617ed4e8e97571442d08d659d637 (patch)
tree06f89c25f25346d0c7ab0c0e747e9f877687a98c /board
parent987b1828309e128075e1e88067916a3f35546478 (diff)
downloadu-boot-c702cfc7f224617ed4e8e97571442d08d659d637.zip
u-boot-c702cfc7f224617ed4e8e97571442d08d659d637.tar.gz
u-boot-c702cfc7f224617ed4e8e97571442d08d659d637.tar.bz2
board: ls1043ardb: force PCI device enumeration
Commit eb1986804d1d ("configs: enable DM_ETH support for LS1043ARDB") resulted in the PCI bus no longer being implicitly enumerated. However, this is necessary for the fdt pcie fixups to work. Therefore, similar to commit 8b6558bd4187 ("board: ls1088ardb: transition to DM_ETH"), pci_init() is now called in the board_init() routine when CONFIG_DM_ETH is active. Signed-off-by: Martin Schiller <ms@dev.tdt.de> CC: Priyanka Jain <priyanka.jain@nxp.com> CC: Camelia Groza <camelia.groza@nxp.com> Acked-by: Camelia Groza <camelia.groza@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board')
-rw-r--r--board/freescale/ls1043ardb/ls1043ardb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/ls1043ardb/ls1043ardb.c b/board/freescale/ls1043ardb/ls1043ardb.c
index beef26b..1764c93 100644
--- a/board/freescale/ls1043ardb/ls1043ardb.c
+++ b/board/freescale/ls1043ardb/ls1043ardb.c
@@ -219,6 +219,10 @@ int board_init(void)
ppa_init();
#endif
+#if !defined(CONFIG_SYS_EARLY_PCI_INIT) && defined(CONFIG_DM_ETH)
+ pci_init();
+#endif
+
#ifdef CONFIG_U_QE
u_qe_init();
#endif