summaryrefslogtreecommitdiff
path: root/lib_mips/board.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-10-12 23:40:27 +0200
committerWolfgang Denk <wd@denx.de>2009-10-12 23:40:27 +0200
commit14abfe361b3ed23b02f564e2f5d663e158cd5799 (patch)
tree76ccf4f0ce3bb2d8c0fda116ee3d0e10de262af5 /lib_mips/board.c
parent285870f75378aca41c5063e4358ad93bf3014fd8 (diff)
parentbe2254423b86572841aa70ff05d20933d1b49823 (diff)
downloadu-boot-imx-14abfe361b3ed23b02f564e2f5d663e158cd5799.zip
u-boot-imx-14abfe361b3ed23b02f564e2f5d663e158cd5799.tar.gz
u-boot-imx-14abfe361b3ed23b02f564e2f5d663e158cd5799.tar.bz2
Merge branch 'master' of /home/wd/git/u-boot/custodians
Diffstat (limited to 'lib_mips/board.c')
-rw-r--r--lib_mips/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_mips/board.c b/lib_mips/board.c
index f62a46a..b2d113e 100644
--- a/lib_mips/board.c
+++ b/lib_mips/board.c
@@ -33,6 +33,10 @@
#include <onenand_uboot.h>
#include <spi.h>
+#ifdef CONFIG_BITBANGMII
+#include <miiphy.h>
+#endif
+
DECLARE_GLOBAL_DATA_PTR;
#if ( ((CONFIG_ENV_ADDR+CONFIG_ENV_SIZE) < CONFIG_SYS_MONITOR_BASE) || \
@@ -407,6 +411,9 @@ void board_init_r (gd_t *id, ulong dest_addr)
misc_init_r ();
#endif
+#ifdef CONFIG_BITBANGMII
+ bb_miiphy_init();
+#endif
#if defined(CONFIG_CMD_NET)
#if defined(CONFIG_NET_MULTI)
puts ("Net: ");