diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2007-12-11 10:53:12 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-09 11:54:26 +0100 |
commit | 23776ff292966a85d811126933830bed48211826 (patch) | |
tree | 743cffb0794100dff31624f2eca782c6bbfae1bb | |
parent | 7b74ebe723e576baedf5a8b6240589b19b845a1b (diff) | |
download | u-boot-imx-23776ff292966a85d811126933830bed48211826.zip u-boot-imx-23776ff292966a85d811126933830bed48211826.tar.gz u-boot-imx-23776ff292966a85d811126933830bed48211826.tar.bz2 |
ARM: support board-specific ethernet PHY init
Add until the new phylib will be arrived
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r-- | lib_arm/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib_arm/board.c b/lib_arm/board.c index 6f35aa0..7e7a282 100644 --- a/lib_arm/board.c +++ b/lib_arm/board.c @@ -430,6 +430,10 @@ extern void dm644x_eth_set_mac_addr (const u_int8_t *addr); puts ("Net: "); #endif eth_initialize(gd->bd); +#if defined(CONFIG_RESET_PHY_R) + debug ("Reset Ethernet PHY\n"); + reset_phy(); +#endif #endif /* main_loop() can return to retry autoboot, if so just run it again. */ for (;;) { |