]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: kirkwood: iConnect : Add PCIe late init
authorTony Dinh <mibodhi@gmail.com>
Sun, 2 Jan 2022 04:57:38 +0000 (20:57 -0800)
committerStefan Roese <sr@denx.de>
Fri, 14 Jan 2022 06:47:57 +0000 (07:47 +0100)
- Add board_late_init function to enable pci_init

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
board/iomega/iconnect/iconnect.c

index fe4be28b13ce23eb852930f2f12a5cb15cf71313..9e123aab0023972d9d593c0e55a83e380dfa86f8 100644 (file)
@@ -92,3 +92,10 @@ int board_init(void)
 
        return 0;
 }
+
+int board_late_init(void)
+{
+       /* Do late init to ensure successful enumeration of PCIe devices */
+       pci_init();
+       return 0;
+}