X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=board%2Fspear%2Fspear310%2Fspear310.c;h=d07dda34e900e54747dcec52242e39e5ce3db074;hb=235c5b8315c6a9eb566fd3d99a098cc6db869fc5;hp=70f9aa16eaa1a1d98da3b9513e039faf53e8de9f;hpb=8b485ba12b0defa0c4ed3559789250238f8331a8;p=platform%2Fkernel%2Fu-boot.git diff --git a/board/spear/spear310/spear310.c b/board/spear/spear310/spear310.c index 70f9aa1..d07dda3 100644 --- a/board/spear/spear310/spear310.c +++ b/board/spear/spear310/spear310.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -52,10 +53,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 #if defined(CONFIG_MACB)