board: ls2080aqds: transition to DM_ETH
authorIoana Ciornei <ioana.ciornei@nxp.com>
Mon, 18 May 2020 11:48:35 +0000 (14:48 +0300)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 19 May 2020 03:52:08 +0000 (09:22 +0530)
commit8cbef912ee8e73fccf2543428e73ecd25d386dba
treed5c830581407ac68096911e1ac717e15274cff96
parente58ac2dd7bb9cc74f9538dc71349a444bf8e2cda
board: ls2080aqds: 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: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/ls2080aqds/eth.c
board/freescale/ls2080aqds/ls2080aqds.c