summaryrefslogtreecommitdiff
path: root/board/davinci/sffsdr
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/sffsdr
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/sffsdr')
-rw-r--r--board/davinci/sffsdr/sffsdr.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/board/davinci/sffsdr/sffsdr.c b/board/davinci/sffsdr/sffsdr.c
index b73484a..f41081f 100644
--- a/board/davinci/sffsdr/sffsdr.c
+++ b/board/davinci/sffsdr/sffsdr.c
@@ -43,7 +43,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) */
@@ -288,11 +287,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);
- }
/* On this platform, U-Boot is copied in RAM by the UBL,
* so we are always in the relocated state. */