]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/spear/spear320/spear320.c
net/designware - switch driver to phylib usage
[karo-tx-uboot.git] / board / spear / spear320 / spear320.c
index f6b1fdd0e6307e33470fbf1df2fa5ef6c26be3d7..ab732a724c7fb87235b17a3f038696c78655ec73 100644 (file)
@@ -65,8 +65,7 @@ int board_eth_init(bd_t *bis)
 
 #if defined(CONFIG_DESIGNWARE_ETH)
        u32 interface = PHY_INTERFACE_MODE_MII;
-       if (designware_initialize(0, CONFIG_SPEAR_ETHBASE, CONFIG_DW0_PHY,
-                               interface) >= 0)
+       if (designware_initialize(CONFIG_SPEAR_ETHBASE, interface) >= 0)
                ret++;
 #endif
 #if defined(CONFIG_MACB)