sh: r2dplus: Enable board_eth_init only for non-DM case

The board_eth_init() is not used for DM case, enable it only for
the non-DM case. This function should eventually be removed.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
Marek Vasut 2020-05-09 16:07:18 +02:00
parent ab80137cc4
commit f6b5d51be5
1 changed files with 2 additions and 0 deletions

View File

@ -46,7 +46,9 @@ void ide_set_reset(int idereset)
}
}
#ifndef CONFIG_DM_ETH
int board_eth_init(bd_t *bis)
{
return pci_eth_init(bis);
}
#endif