[U-Boot] [PATCH u-boot-marvell 6/6] arm: mvebu: turris_omnia: call pci_init from board init code
Marek BehĂșn
marek.behun at nic.cz
Fri May 10 03:10:29 UTC 2019
We always want to enumerate PCIe devices, because withouth this they
won't work in Linux.
Signed-off-by: Marek BehĂșn <marek.behun at nic.cz>
---
board/CZ.NIC/turris_omnia/turris_omnia.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c b/board/CZ.NIC/turris_omnia/turris_omnia.c
index cddde50b96..db99db0ccf 100644
--- a/board/CZ.NIC/turris_omnia/turris_omnia.c
+++ b/board/CZ.NIC/turris_omnia/turris_omnia.c
@@ -412,6 +412,9 @@ int board_late_init(void)
set_regdomain();
handle_reset_button();
#endif
+#ifdef CONFIG_PCI_MVEBU
+ pci_init();
+#endif
return 0;
}
--
2.21.0
More information about the U-Boot
mailing list