Re: [U-Boot] [PATCH v2 u-boot-marvell 6/7] arm: mvebu: turris_omnia: call pci_init from board init code

2019-05-27 Thread Stefan Roese

On 24.05.19 14:57, Marek Behún wrote:

We always want to enumerate PCIe devices, because withouth this they
won't work in Linux.

Signed-off-by: Marek Behún 


Reviewed-by: Stefan Roese 

Thanks,
Stefan

BTW: There should be no any such dependencies, that the bootloader has
already done some initializations on some subsystems. Linux should be
able to function correctly on all interfaces without any such pre-
configurations. So you might want to look into the Linux drivers here
to find the root cause for this.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v2 u-boot-marvell 6/7] arm: mvebu: turris_omnia: call pci_init from board init code

2019-05-24 Thread Marek Behún
We always want to enumerate PCIe devices, because withouth this they
won't work in Linux.

Signed-off-by: Marek Behún 
---
 board/CZ.NIC/turris_omnia/turris_omnia.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/board/CZ.NIC/turris_omnia/turris_omnia.c 
b/board/CZ.NIC/turris_omnia/turris_omnia.c
index cddde50b96..eee150892a 100644
--- a/board/CZ.NIC/turris_omnia/turris_omnia.c
+++ b/board/CZ.NIC/turris_omnia/turris_omnia.c
@@ -412,6 +412,7 @@ int board_late_init(void)
set_regdomain();
handle_reset_button();
 #endif
+   pci_init();
 
return 0;
 }
-- 
2.21.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot