diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 21:22:11 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-16 15:23:56 +0300 |
commit | fd1e959e91d2b0b2e853d09dd9167dfff18a616c (patch) | |
tree | 1d59086cd330cd9c061521f9564edfb9d75e1dc9 /board/toradex | |
parent | 018f530323b2cc41be05be5b12375d3648f06554 (diff) | |
download | u-boot-fd1e959e91d2b0b2e853d09dd9167dfff18a616c.tar.xz |
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')
-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 77ebb88317..78b2bc0c2b 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 |