summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2021-11-17 14:59:20 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2022-02-01 12:38:07 +0300
commit522f70463c854e69933e46a8670b4571d0be1349 (patch)
tree05f496a6f0a6d096387dd9eab9305c095b1742ba /board/freescale
parent0a96dfb57e3eb834197c8bdd8f26802025524e1c (diff)
downloadu-boot-522f70463c854e69933e46a8670b4571d0be1349.tar.xz
board: ls1046ardb: force PCI device enumeration
Commit 045ecf899252 ("configs: enable DM_ETH support for LS1046ARDB") 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> Acked-by: Camelia Groza <camelia.groza@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/ls1046ardb/ls1046ardb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/ls1046ardb/ls1046ardb.c b/board/freescale/ls1046ardb/ls1046ardb.c
index 93ef903f29..d0abfe8869 100644
--- a/board/freescale/ls1046ardb/ls1046ardb.c
+++ b/board/freescale/ls1046ardb/ls1046ardb.c
@@ -93,6 +93,10 @@ int board_init(void)
ppa_init();
#endif
+#if !defined(CONFIG_SYS_EARLY_PCI_INIT) && defined(CONFIG_DM_ETH)
+ pci_init();
+#endif
+
/* invert AQR105 IRQ pins polarity */
out_be32(&scfg->intpcr, AQR105_IRQ_MASK);