extern void    timer_init(void);
 extern int     eth_hw_init(void);
-extern phy_t   phy;
 
 
 /* Works on Always On power domain only (no PD argument) */
                }
        }
 
-       if (!eth_hw_init()) {
+       if (!eth_hw_init())
                printf("ethernet init failed!\n");
-       } else {
-               printf("ETH PHY   : %s\n", phy.name);
-       }
 
        i2c_read (0x39, 0x00, 1, (u_int8_t *)&i, 1);
 
 
 
 extern void    timer_init(void);
 extern int     eth_hw_init(void);
-extern phy_t   phy;
 
 
 /* Works on Always On power domain only (no PD argument) */
                forceenv("serial#", (char *)&tmp[0]);
        }
 
-       if (!eth_hw_init()) {
+       if (!eth_hw_init())
                printf("ethernet init failed!\n");
-       } else {
-               printf("ETH PHY   : %s\n", phy.name);
-       }
 
        return(0);
 }
 
 
 extern void timer_init(void);
 extern int eth_hw_init(void);
-extern phy_t phy;
 
 
 /* Works on Always On power domain only (no PD argument) */
                }
        }
 
-       if (!eth_hw_init()) {
+       if (!eth_hw_init())
                printf("Ethernet init failed\n");
-       } else {
-               printf("ETH PHY: %s\n", phy.name);
-       }
 
        /* On this platform, U-Boot is copied in RAM by the UBL,
         * so we are always in the relocated state. */
 
 
 extern void    timer_init(void);
 extern int     eth_hw_init(void);
-extern phy_t   phy;
 
 
 /* Works on Always On power domain only (no PD argument) */
                }
        }
 
-       if (!eth_hw_init()) {
+       if (!eth_hw_init())
                printf("ethernet init failed!\n");
-       } else {
-               printf("ETH PHY   : %s\n", phy.name);
-       }
 
        return(0);
 }
 
                        phy.auto_negotiate = gen_auto_negotiate;
        }
 
+       printf("Ethernet PHY: %s\n", phy.name);
+
        return(1);
 }