fixed ethernet phy configuration for plu405 board
[oweals/u-boot.git] / board / esd / plu405 / plu405.c
index 37b92fb65a8dd482a433e0a592c9e5ba33a4ed6a..59171f8f4c5cfbaf0fda5dcdb864ccbb5f320306 100644 (file)
@@ -215,12 +215,6 @@ int checkboard (void)
        }
 
        putc ('\n');
-
-       /*
-        * Disable sleep mode in LXT971
-        */
-       lxt971_no_sleep();
-
        return 0;
 }
 
@@ -292,3 +286,14 @@ void board_auto_update_show(int au_active)
        }
 }
 #endif
+
+void reset_phy(void)
+{
+#ifdef CONFIG_LXT971_NO_SLEEP
+
+       /*
+        * Disable sleep mode in LXT971
+        */
+       lxt971_no_sleep();
+#endif
+}