[U-Boot] [PATCH u-boot-marvell 6/6] arm: mvebu: turris_omnia: call pci_init from board init code
Stefan Roese
sr at denx.de
Fri May 10 08:16:16 UTC 2019
On 10.05.19 05:10, 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 <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
Do you have CONFIG_PCI_MVEBU enabled on this board defconfig? If yes,
then please remove the #ifdef here.
Thanks,
Stefan
More information about the U-Boot
mailing list