Message ID | 20190510031029.23739-7-marek.behun@nic.cz |
---|---|
State | Superseded |
Delegated to: | Stefan Roese |
Headers | show |
Series | More fixes for Turris Omnia | expand |
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@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
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; }
We always want to enumerate PCIe devices, because withouth this they won't work in Linux. Signed-off-by: Marek Behún <marek.behun@nic.cz> --- board/CZ.NIC/turris_omnia/turris_omnia.c | 3 +++ 1 file changed, 3 insertions(+)