diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 12:22:14 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-16 08:30:44 -0400 |
commit | 35affd7a2ff9a77b9946bf93b616228fcf218d60 (patch) | |
tree | 812b1f6919c36821364b863d9b35ad7497d392bb /cmd/pxe.c | |
parent | bfebc8c965e41d62dc6355d09bdd63ca57011b99 (diff) | |
download | u-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/pxe.c')
-rw-r--r-- | cmd/pxe.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -70,8 +70,7 @@ static int format_mac_pxe(char *outbuf, size_t outbuf_len) return -EINVAL; } - if (!eth_getenv_enetaddr_by_index("eth", eth_get_dev_index(), - ethaddr)) + if (!eth_env_get_enetaddr_by_index("eth", eth_get_dev_index(), ethaddr)) return -ENOENT; sprintf(outbuf, "01-%02x-%02x-%02x-%02x-%02x-%02x", |