summaryrefslogtreecommitdiff
path: root/board/st/stv0991/stv0991.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/st/stv0991/stv0991.c')
-rw-r--r--board/st/stv0991/stv0991.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c
index f465699..38f6e1d 100644
--- a/board/st/stv0991/stv0991.c
+++ b/board/st/stv0991/stv0991.c
@@ -94,7 +94,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(GMAC_BASE_ADDR, interface) >= 0)
ret++;