diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-01-16 09:19:02 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-02-19 09:41:21 +0100 |
commit | e66da8bbf45762a340371bf8aff730cb17454801 (patch) | |
tree | e0671087eeb2691a4004b2c091b705a0da89a098 /board/xilinx | |
parent | 427b2d4e5afe149b0da012322530a363d01058fd (diff) | |
download | u-boot-imx-e66da8bbf45762a340371bf8aff730cb17454801.zip u-boot-imx-e66da8bbf45762a340371bf8aff730cb17454801.tar.gz u-boot-imx-e66da8bbf45762a340371bf8aff730cb17454801.tar.bz2 |
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>
Diffstat (limited to 'board/xilinx')
-rw-r--r-- | board/xilinx/zynq/board.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index 498d143..16d2d99 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) |