From: Martin Schiller Date: Tue, 23 Nov 2021 06:28:00 +0000 (+0100) Subject: board: ls1043ardb: force PCI device enumeration X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=c702cfc7f224617ed4e8e97571442d08d659d637;p=u-boot.git 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 CC: Priyanka Jain CC: Camelia Groza Acked-by: Camelia Groza Reviewed-by: Priyanka Jain --- diff --git a/board/freescale/ls1043ardb/ls1043ardb.c b/board/freescale/ls1043ardb/ls1043ardb.c index beef26b084..1764c9336c 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