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 /board/spear | |
parent | bfebc8c965e41d62dc6355d09bdd63ca57011b99 (diff) |
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 'board/spear')
-rw-r--r-- | board/spear/common/spr_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/spear/common/spr_misc.c b/board/spear/common/spr_misc.c index 67de28e7ea0..a02304f49ee 100644 --- a/board/spear/common/spr_misc.c +++ b/board/spear/common/spr_misc.c @@ -53,7 +53,7 @@ int misc_init_r(void) #if defined(CONFIG_CMD_NET) uchar mac_id[6]; - if (!eth_getenv_enetaddr("ethaddr", mac_id) && !i2c_read_mac(mac_id)) + if (!eth_env_get_enetaddr("ethaddr", mac_id) && !i2c_read_mac(mac_id)) eth_env_set_enetaddr("ethaddr", mac_id); #endif env_set("verify", "n"); |