p1010rdb: Don't compile board_eth_init() for DM_ETH
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Mon, 21 Sep 2020 09:45:04 +0000 (15:15 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 24 Sep 2020 12:27:44 +0000 (08:27 -0400)
commitc5166ceb13ee30d1ce66d7f503adc893b72e91e0
treeaba8f93bd6d38aefbce130877dcd3c7d87e3e001
parent4769ca67cc03610d9ca506e0704dd7f5b83f076a
p1010rdb: Don't compile board_eth_init() for DM_ETH

The board_eth_init() is only used by legacy ethernet driver framework,
so do not compile it when DM_ETH config has been selected.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
board/freescale/p1010rdb/p1010rdb.c