summaryrefslogtreecommitdiff
path: root/drivers/net/fsl_mcdmafec.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 /drivers/net/fsl_mcdmafec.c
parentbfebc8c965e41d62dc6355d09bdd63ca57011b99 (diff)
downloadu-boot-35affd7a2ff9a77b9946bf93b616228fcf218d60.tar.gz
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 'drivers/net/fsl_mcdmafec.c')
-rw-r--r--drivers/net/fsl_mcdmafec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fsl_mcdmafec.c b/drivers/net/fsl_mcdmafec.c
index 628b420add..26c714cc04 100644
--- a/drivers/net/fsl_mcdmafec.c
+++ b/drivers/net/fsl_mcdmafec.c
@@ -383,9 +383,9 @@ static int fec_init(struct eth_device *dev, bd_t * bd)
/* Set station address */
if ((u32) fecp == CONFIG_SYS_FEC0_IOBASE)
- eth_getenv_enetaddr("ethaddr", enetaddr);
+ eth_env_get_enetaddr("ethaddr", enetaddr);
else
- eth_getenv_enetaddr("eth1addr", enetaddr);
+ eth_env_get_enetaddr("eth1addr", enetaddr);
fec_set_hwaddr(fecp, enetaddr);
/* Set Opcode/Pause Duration Register */