1
0
Fork 0

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>
utp
Jean-Christophe PLAGNIOL-VILLARD 2007-12-11 10:53:12 +01:00 committed by Wolfgang Denk
parent 7b74ebe723
commit 23776ff292
1 changed files with 4 additions and 0 deletions

View File

@ -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 (;;) {