浏览代码

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>
Michal Simek 11 年之前
父节点
当前提交
e66da8bbf4
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      board/xilinx/zynq/board.c

+ 0 - 2
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)