summaryrefslogtreecommitdiff
path: root/board/samtec/vining_fpga/socfpga.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samtec/vining_fpga/socfpga.c')
-rw-r--r--board/samtec/vining_fpga/socfpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/samtec/vining_fpga/socfpga.c b/board/samtec/vining_fpga/socfpga.c
index 2ee6d3b554..760fc71217 100644
--- a/board/samtec/vining_fpga/socfpga.c
+++ b/board/samtec/vining_fpga/socfpga.c
@@ -93,7 +93,7 @@ int misc_init_r(void)
/* Set ethernet address from EEPROM. */
if (!getenv("ethaddr") && is_valid_ethaddr(&data[0x62]))
- eth_setenv_enetaddr("ethaddr", &data[0x62]);
+ eth_env_set_enetaddr("ethaddr", &data[0x62]);
return 0;
}