summaryrefslogtreecommitdiff
path: root/lib_sparc/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib_sparc/board.c')
-rw-r--r--lib_sparc/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_sparc/board.c b/lib_sparc/board.c
index 6aadb56f63..11eea603c1 100644
--- a/lib_sparc/board.c
+++ b/lib_sparc/board.c
@@ -49,6 +49,10 @@
#include <ambapp.h>
#endif
+#ifdef CONFIG_BITBANGMII
+#include <miiphy.h>
+#endif
+
DECLARE_GLOBAL_DATA_PTR;
/* Debug options
@@ -405,6 +409,9 @@ void board_init_f(ulong bootflag)
doc_init();
#endif
+#ifdef CONFIG_BITBANGMII
+ bb_miiphy_init();
+#endif
#if defined(CONFIG_CMD_NET)
#if defined(CONFIG_NET_MULTI)
WATCHDOG_RESET();