projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
427b2d4
)
zynq: Use board_eth_init if CMD_NET is not enabled
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 16 Jan 2014 08:19:02 +0000
(09:19 +0100)
committer
Michal Simek
<michal.simek@xilinx.com>
Wed, 19 Feb 2014 08:41:21 +0000
(09:41 +0100)
board_eth_init can be also called in cases where CMD_NET
is not enabled.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynq/board.c
patch
|
blob
|
history
diff --git
a/board/xilinx/zynq/board.c
b/board/xilinx/zynq/board.c
index 498d143e399984d8d843a456bca5ad8a89e5fa65..16d2d99cae08af9f979d43f8191806b7e167ef28 100644
(file)
--- 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)