X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=board%2Fspear%2Fspear300%2Fspear300.c;h=396b5bdf60ab00087106b500a8786c6eda5594ed;hb=23d632679151308b86c79389d8bbf3b481f7729f;hp=e25aba2f28747a798bd1335fce2a868ae91e02cc;hpb=5b9c79a81db80c3f9e50c77477957cd803429af8;p=u-boot diff --git a/board/spear/spear300/spear300.c b/board/spear/spear300/spear300.c index e25aba2f28..396b5bdf60 100644 --- a/board/spear/spear300/spear300.c +++ b/board/spear/spear300/spear300.c @@ -51,10 +51,9 @@ int board_eth_init(bd_t *bis) { int ret = 0; -#if defined(CONFIG_DESIGNWARE_ETH) +#if defined(CONFIG_ETH_DESIGNWARE) 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 return ret;