mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 19:10:53 +09:00
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: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
427b2d4e5a
commit
e66da8bbf4
@ -87,7 +87,6 @@ int board_late_init(void)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_NET
|
|
||||||
int board_eth_init(bd_t *bis)
|
int board_eth_init(bd_t *bis)
|
||||||
{
|
{
|
||||||
u32 ret = 0;
|
u32 ret = 0;
|
||||||
@ -121,7 +120,6 @@ int board_eth_init(bd_t *bis)
|
|||||||
#endif
|
#endif
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_CMD_MMC
|
#ifdef CONFIG_CMD_MMC
|
||||||
int board_mmc_init(bd_t *bd)
|
int board_mmc_init(bd_t *bd)
|
||||||
|
Loading…
Reference in New Issue
Block a user