aboutsummaryrefslogtreecommitdiff
path: root/board/davinci/sonata
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/sonata
parent3a9e7ba2ac14018c5dd1e78a7dd735571569c971 (diff)
downloadu-boot-linaro-stable-85e5808e8ea9f77da5219f23394112f0b424fa5e.tar.gz
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/sonata')
-rw-r--r--board/davinci/sonata/dv_board.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/davinci/sonata/dv_board.c b/board/davinci/sonata/dv_board.c
index 2db40c834..a6f9bc71c 100644
--- a/board/davinci/sonata/dv_board.c
+++ b/board/davinci/sonata/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) */
@@ -185,11 +184,8 @@ int misc_init_r (void)
}
}
- if (!eth_hw_init()) {
+ if (!eth_hw_init())
printf("ethernet init failed!\n");
- } else {
- printf("ETH PHY : %s\n", phy.name);
- }
return(0);
}