board: freescale: ls1046afrwy: enumerate PCI devices
Call pci_init() from board_init() to force PCI enumeration at probe time.
Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
diff --git a/board/freescale/ls1046afrwy/ls1046afrwy.c b/board/freescale/ls1046afrwy/ls1046afrwy.c
index f6e5c12..899c22a 100644
--- a/board/freescale/ls1046afrwy/ls1046afrwy.c
+++ b/board/freescale/ls1046afrwy/ls1046afrwy.c
@@ -134,6 +134,9 @@
out_le32(SMMU_NSCR0, val);
#endif
+ if (!IS_ENABLED(CONFIG_SYS_EARLY_PCI_INIT))
+ pci_init();
+
select_i2c_ch_pca9547(I2C_MUX_CH_DEFAULT, 0);
return 0;
}