summaryrefslogtreecommitdiff
path: root/lib_blackfin/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_blackfin/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_blackfin/board.c')
-rw-r--r--lib_blackfin/board.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib_blackfin/board.c b/lib_blackfin/board.c
index 1053f69..3670d2c 100644
--- a/lib_blackfin/board.c
+++ b/lib_blackfin/board.c
@@ -26,6 +26,10 @@
#include <nand.h> /* cannot even include nand.h if it isnt configured */
#endif
+#ifdef CONFIG_BITBANGMII
+#include <miiphy.h>
+#endif
+
#if defined(CONFIG_POST)
#include <post.h>
int post_flag;
@@ -270,6 +274,9 @@ void board_init_f(ulong bootflag)
static void board_net_init_r(bd_t *bd)
{
+#ifdef CONFIG_BITBANGMII
+ bb_miiphy_init();
+#endif
#ifdef CONFIG_CMD_NET
uchar enetaddr[6];
char *s;