summaryrefslogtreecommitdiff
path: root/board/davinci/schmoogie
diff options
context:
space:
mode:
authorHugo Villeneuve <hugo.villeneuve@lyrtech.com>2008-07-11 15:10:11 -0400
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2008-07-14 23:40:55 +0200
commit85e5808e8ea9f77da5219f23394112f0b424fa5e (patch)
tree16ea6dbe53babb5207d006836bf44ca4c1dbaad6 /board/davinci/schmoogie
parent3a9e7ba2ac14018c5dd1e78a7dd735571569c971 (diff)
downloadu-boot-imx-85e5808e8ea9f77da5219f23394112f0b424fa5e.zip
u-boot-imx-85e5808e8ea9f77da5219f23394112f0b424fa5e.tar.gz
u-boot-imx-85e5808e8ea9f77da5219f23394112f0b424fa5e.tar.bz2
ARM DaVinci: Remove extern phy_t declaration by moving code to proper place
ARM DaVinci: Remove extern phy_t declaration by moving code to proper place. Signed-off-by: Hugo Villeneuve <hugo.villeneuve@lyrtech.com>
Diffstat (limited to 'board/davinci/schmoogie')
-rw-r--r--board/davinci/schmoogie/dv_board.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/davinci/schmoogie/dv_board.c b/board/davinci/schmoogie/dv_board.c
index 529a437..3017546 100644
--- a/board/davinci/schmoogie/dv_board.c
+++ b/board/davinci/schmoogie/dv_board.c
@@ -33,7 +33,6 @@ DECLARE_GLOBAL_DATA_PTR;
extern void timer_init(void);
extern int eth_hw_init(void);
-extern phy_t phy;
/* Works on Always On power domain only (no PD argument) */
@@ -230,11 +229,8 @@ int misc_init_r (void)
forceenv("serial#", (char *)&tmp[0]);
}
- if (!eth_hw_init()) {
+ if (!eth_hw_init())
printf("ethernet init failed!\n");
- } else {
- printf("ETH PHY : %s\n", phy.name);
- }
return(0);
}