diff options
author | Camelia Groza <camelia.groza@nxp.com> | 2023-06-07 14:20:46 +0300 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2023-06-15 12:58:53 +0300 |
commit | 4cb10eb129e6a0dd007999ca9eec315e57d69581 (patch) | |
tree | 395a96d550f6bea79bc684d78bb1c3fdc012dd1f /board/freescale/ls1046afrwy | |
parent | c699427e20cd7c1e2f17253d721f83920ac3cafc (diff) | |
download | u-boot-4cb10eb129e6a0dd007999ca9eec315e57d69581.tar.xz |
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>
Diffstat (limited to 'board/freescale/ls1046afrwy')
-rw-r--r-- | board/freescale/ls1046afrwy/ls1046afrwy.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/freescale/ls1046afrwy/ls1046afrwy.c b/board/freescale/ls1046afrwy/ls1046afrwy.c index f6e5c122ea..899c22a367 100644 --- a/board/freescale/ls1046afrwy/ls1046afrwy.c +++ b/board/freescale/ls1046afrwy/ls1046afrwy.c @@ -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; } |