]> git.sur5r.net Git - u-boot/commitdiff
ARM: support board-specific ethernet PHY init
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Tue, 11 Dec 2007 09:53:12 +0000 (10:53 +0100)
committerWolfgang Denk <wd@denx.de>
Wed, 9 Jan 2008 10:54:26 +0000 (11:54 +0100)
Add until the new phylib will be arrived

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
lib_arm/board.c

index 6f35aa06bf981b0594f9951eaf08b7ec7d1f6dd7..7e7a28271dff58cb941b1e0647a3fe080d53456e 100644 (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 (;;) {