From 8da1058b98a6ce03b7ab69ee89bc73cbff3f14e5 Mon Sep 17 00:00:00 2001 From: Ioana Ciornei Date: Wed, 18 Mar 2020 16:47:40 +0200 Subject: board: ls2088ardb: transition to DM_ETH In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei Reviewed-by: Priyanka Jain --- board/freescale/ls2080ardb/ls2080ardb.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'board/freescale/ls2080ardb/ls2080ardb.c') diff --git a/board/freescale/ls2080ardb/ls2080ardb.c b/board/freescale/ls2080ardb/ls2080ardb.c index 282aaf47fb..5e2fc7cc98 100644 --- a/board/freescale/ls2080ardb/ls2080ardb.c +++ b/board/freescale/ls2080ardb/ls2080ardb.c @@ -244,6 +244,10 @@ int board_init(void) sec_init(); #endif +#if !defined(CONFIG_SYS_EARLY_PCI_INIT) && defined(CONFIG_DM_ETH) + pci_init(); +#endif + return 0; } -- cgit v1.2.3