Commit e66da8bb authored by Michal Simek's avatar Michal Simek

zynq: Use board_eth_init if CMD_NET is not enabled

board_eth_init can be also called in cases where CMD_NET
is not enabled.
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 427b2d4e
......@@ -87,7 +87,6 @@ int board_late_init(void)
return 0;
}
#ifdef CONFIG_CMD_NET
int board_eth_init(bd_t *bis)
{
u32 ret = 0;
......@@ -121,7 +120,6 @@ int board_eth_init(bd_t *bis)
#endif
return ret;
}
#endif
#ifdef CONFIG_CMD_MMC
int board_mmc_init(bd_t *bd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment