From: Jean-Christophe PLAGNIOL-VILLARD Date: Tue, 11 Dec 2007 09:53:12 +0000 (+0100) Subject: ARM: support board-specific ethernet PHY init X-Git-Tag: v1.3.2-rc1~102^2~49^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=23776ff292966a85d811126933830bed48211826;p=u-boot ARM: support board-specific ethernet PHY init Add until the new phylib will be arrived Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/lib_arm/board.c b/lib_arm/board.c index 6f35aa06bf..7e7a28271d 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 (;;) {