From: Michal Simek Date: Thu, 16 Jan 2014 08:19:02 +0000 (+0100) Subject: zynq: Use board_eth_init if CMD_NET is not enabled X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-logo.png?a=commitdiff_plain;h=e66da8bbf45762a340371bf8aff730cb17454801;p=u-boot.git 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 --- diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 498d143e39..16d2d99cae 100644 --- a/board/xilinx/zynq/board.c +++ b/board/xilinx/zynq/board.c @@ -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)