diff options
author | Simon Glass | 2017-08-03 12:22:11 -0600 |
---|---|---|
committer | Tom Rini | 2017-08-16 08:23:56 -0400 |
commit | fd1e959e91d2b0b2e853d09dd9167dfff18a616c (patch) | |
tree | 1d59086cd330cd9c061521f9564edfb9d75e1dc9 /board/toradex/common | |
parent | 018f530323b2cc41be05be5b12375d3648f06554 (diff) |
env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr()
Rename this function for consistency with env_set().
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/toradex/common')
-rw-r--r-- | board/toradex/common/tdx-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/toradex/common/tdx-common.c b/board/toradex/common/tdx-common.c index 77ebb883175..78b2bc0c2bd 100644 --- a/board/toradex/common/tdx-common.c +++ b/board/toradex/common/tdx-common.c @@ -87,7 +87,7 @@ int show_board_info(void) * set the one from config block if not */ if (!eth_getenv_enetaddr("ethaddr", ethaddr)) - eth_setenv_enetaddr("ethaddr", (u8 *)&tdx_eth_addr); + eth_env_set_enetaddr("ethaddr", (u8 *)&tdx_eth_addr); #ifdef CONFIG_TDX_CFG_BLOCK_2ND_ETHADDR if (!eth_getenv_enetaddr("eth1addr", ethaddr)) { @@ -97,7 +97,7 @@ int show_board_info(void) */ memcpy(ethaddr, &tdx_eth_addr, 6); ethaddr[3] += 0x10; - eth_setenv_enetaddr("eth1addr", ethaddr); + eth_env_set_enetaddr("eth1addr", ethaddr); } #endif |