diff options
author | Hugo Villeneuve <hugo.villeneuve@lyrtech.com> | 2008-07-11 15:10:11 -0400 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2008-07-14 23:40:55 +0200 |
commit | 85e5808e8ea9f77da5219f23394112f0b424fa5e (patch) | |
tree | 16ea6dbe53babb5207d006836bf44ca4c1dbaad6 /board/davinci/dv-evm | |
parent | 3a9e7ba2ac14018c5dd1e78a7dd735571569c971 (diff) | |
download | u-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/dv-evm')
-rw-r--r-- | board/davinci/dv-evm/dv_board.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/board/davinci/dv-evm/dv_board.c b/board/davinci/dv-evm/dv_board.c index 454ac21..834eb68 100644 --- a/board/davinci/dv-evm/dv_board.c +++ b/board/davinci/dv-evm/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) */ @@ -184,11 +183,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); - } i2c_read (0x39, 0x00, 1, (u_int8_t *)&i, 1); |