summaryrefslogtreecommitdiff
path: root/cmd/elf.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:14 -0600
committerTom Rini <trini@konsulko.com>2017-08-16 08:30:44 -0400
commit35affd7a2ff9a77b9946bf93b616228fcf218d60 (patch)
tree812b1f6919c36821364b863d9b35ad7497d392bb /cmd/elf.c
parentbfebc8c965e41d62dc6355d09bdd63ca57011b99 (diff)
downloadu-boot-35affd7a2ff9a77b9946bf93b616228fcf218d60.tar.gz
u-boot-35affd7a2ff9a77b9946bf93b616228fcf218d60.tar.bz2
u-boot-35affd7a2ff9a77b9946bf93b616228fcf218d60.zip
env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr()
Rename this function for consistency with env_get(). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/elf.c')
-rw-r--r--cmd/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/elf.c b/cmd/elf.c
index 5d071ee26c..51dac03170 100644
--- a/cmd/elf.c
+++ b/cmd/elf.c
@@ -242,11 +242,11 @@ int do_bootvx(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
*/
#if defined(CONFIG_WALNUT)
tmp = (char *)CONFIG_SYS_NVRAM_BASE_ADDR + 0x500;
- eth_getenv_enetaddr("ethaddr", (uchar *)build_buf);
+ eth_env_get_enetaddr("ethaddr", (uchar *)build_buf);
memcpy(tmp, &build_buf[3], 3);
#elif defined(CONFIG_SYS_VXWORKS_MAC_PTR)
tmp = (char *)CONFIG_SYS_VXWORKS_MAC_PTR;
- eth_getenv_enetaddr("ethaddr", (uchar *)build_buf);
+ eth_env_get_enetaddr("ethaddr", (uchar *)build_buf);
memcpy(tmp, build_buf, 6);
#else
puts("## Ethernet MAC address not copied to NV RAM\n");