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 fe4be28..9e123aa 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;
+}