On 1/2/22 05:57, Tony Dinh wrote:
- Add board_late_init function to enable pci_init

Signed-off-by: Tony Dinh <mibo...@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();

Reviewed-by: Stefan Roese <s...@denx.de>

Thanks,
Stefan

+       return 0;
+}


Viele Grüße,
Stefan Roese

--
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: s...@denx.de

Reply via email to