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>
This commit is contained in:
Camelia Groza 2023-06-07 14:20:46 +03:00 committed by Peng Fan
parent c699427e20
commit 4cb10eb129

View file

@ -134,6 +134,9 @@ val = (in_le32(SMMU_SCR0) | SCR0_CLIENTPD_MASK) & ~(SCR0_USFCFG_MASK);
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;
}