diff options
Diffstat (limited to 'board/gateworks')
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.c b/board/gateworks/gw_ventana/gw_ventana.c index efadb0c324..61298ab2fd 100644 --- a/board/gateworks/gw_ventana/gw_ventana.c +++ b/board/gateworks/gw_ventana/gw_ventana.c @@ -771,11 +771,11 @@ int misc_init_r(void) /* initialize env from EEPROM */ if (test_bit(EECONFIG_ETH0, info->config) && !getenv("ethaddr")) { - eth_setenv_enetaddr("ethaddr", info->mac0); + eth_env_set_enetaddr("ethaddr", info->mac0); } if (test_bit(EECONFIG_ETH1, info->config) && !getenv("eth1addr")) { - eth_setenv_enetaddr("eth1addr", info->mac1); + eth_env_set_enetaddr("eth1addr", info->mac1); } /* board serial-number */ |