aboutsummaryrefslogtreecommitdiff
path: root/board/grinn/chiliboard/board.c
diff options
context:
space:
mode:
authorSimon Glass2017-08-03 12:22:11 -0600
committerTom Rini2017-08-16 08:23:56 -0400
commitfd1e959e91d2b0b2e853d09dd9167dfff18a616c (patch)
tree1d59086cd330cd9c061521f9564edfb9d75e1dc9 /board/grinn/chiliboard/board.c
parent018f530323b2cc41be05be5b12375d3648f06554 (diff)
env: Rename eth_setenv_enetaddr() to eth_env_set_enetaddr()
Rename this function for consistency with env_set(). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/grinn/chiliboard/board.c')
-rw-r--r--board/grinn/chiliboard/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/grinn/chiliboard/board.c b/board/grinn/chiliboard/board.c
index e3f82b0a80d..2900109bbd3 100644
--- a/board/grinn/chiliboard/board.c
+++ b/board/grinn/chiliboard/board.c
@@ -130,7 +130,7 @@ int board_late_init(void)
printf("<ethaddr> not set. Validating first E-fuse MAC\n");
if (is_valid_ethaddr(mac_addr))
- eth_setenv_enetaddr("ethaddr", mac_addr);
+ eth_env_set_enetaddr("ethaddr", mac_addr);
}
mac_lo = readl(&cdev->macid1l);
@@ -144,7 +144,7 @@ int board_late_init(void)
if (!getenv("eth1addr")) {
if (is_valid_ethaddr(mac_addr))
- eth_setenv_enetaddr("eth1addr", mac_addr);
+ eth_env_set_enetaddr("eth1addr", mac_addr);
}
#endif