From 35affd7a2ff9a77b9946bf93b616228fcf218d60 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 3 Aug 2017 12:22:14 -0600 Subject: env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() Rename this function for consistency with env_get(). Signed-off-by: Simon Glass --- board/spear/common/spr_misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board/spear') diff --git a/board/spear/common/spr_misc.c b/board/spear/common/spr_misc.c index 67de28e..a02304f 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"); -- cgit v1.1