board: lx2160aqds: transition to DM_ETH
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 27 Apr 2020 12:21:15 +0000 (15:21 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 19 May 2020 03:52:07 +0000 (09:22 +0530)
commit4057bddaa230de0d77ec6357fd556ea192ab1412
tree2b766b667ddbd1406e20a8dd95e4d00e63f7ae99
parent74f04490f22428531f9fd5fcd9ca61b6e145a12b
board: lx2160aqds: 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 <ioana.ciornei@nxp.com>
Reviewed-by: Razvan Ionut Cirjan <razvanionut.cirjan@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/lx2160a/eth_lx2160aqds.c
board/freescale/lx2160a/lx2160a.c