[PATCH 2/3] arm: kirkwood: iConnect : Add PCIe late init

Tony Dinh mibodhi at gmail.com
Sun Jan 2 05:57:38 CET 2022


- Add board_late_init function to enable pci_init

Signed-off-by: Tony Dinh <mibodhi at gmail.com>
---

 board/iomega/iconnect/iconnect.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/board/iomega/iconnect/iconnect.c b/board/iomega/iconnect/iconnect.c
index fe4be28b13..9e123aab00 100644
--- a/board/iomega/iconnect/iconnect.c
+++ b/board/iomega/iconnect/iconnect.c
@@ -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;
+}
-- 
2.30.2



More information about the U-Boot mailing list