summaryrefslogtreecommitdiffstats
path: root/board/spear/spear320/spear320.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/spear/spear320/spear320.c')
-rw-r--r--board/spear/spear320/spear320.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/spear/spear320/spear320.c b/board/spear/spear320/spear320.c
index ab732a724c..52196afd17 100644
--- a/board/spear/spear320/spear320.c
+++ b/board/spear/spear320/spear320.c
@@ -63,7 +63,7 @@ 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(CONFIG_SPEAR_ETHBASE, interface) >= 0)
ret++;
OpenPOWER on IntegriCloud