projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c72bfaf
)
nios2: Add missing Ethernet initialization to board_init().
author
Scott McNutt
<smcnutt@psyent.com>
Sun, 21 Mar 2010 17:26:33 +0000
(13:26 -0400)
committer
Scott McNutt
<smcnutt@psyent.com>
Fri, 2 Apr 2010 16:28:40 +0000
(12:28 -0400)
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
lib_nios2/board.c
patch
|
blob
|
history
diff --git
a/lib_nios2/board.c
b/lib_nios2/board.c
index 41d3297190bda5343aba22cabea135b9a0b5b617..8ec66a354045935cbb1e70566c0557e74fc9fc33 100644
(file)
--- a/
lib_nios2/board.c
+++ b/
lib_nios2/board.c
@@
-139,6
+139,13
@@
void board_init (void)
board_late_init ();
#endif
+#if defined(CONFIG_CMD_NET)
+#if defined(CONFIG_NET_MULTI)
+ puts ("Net: ");
+#endif
+ eth_initialize (bd);
+#endif
+
/* main_loop */
for (;;) {
WATCHDOG_RESET ();