aboutsummaryrefslogtreecommitdiff
path: root/board/ti/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:11 -0600
committerTom Rini <trini@konsulko.com>2017-08-16 08:23:56 -0400
commitfd1e959e91d2b0b2e853d09dd9167dfff18a616c (patch)
tree1d59086cd330cd9c061521f9564edfb9d75e1dc9 /board/ti/common
parent018f530323b2cc41be05be5b12375d3648f06554 (diff)
downloadu-boot-fd1e959e91d2b0b2e853d09dd9167dfff18a616c.zip
u-boot-fd1e959e91d2b0b2e853d09dd9167dfff18a616c.tar.gz
u-boot-fd1e959e91d2b0b2e853d09dd9167dfff18a616c.tar.bz2
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/ti/common')
-rw-r--r--board/ti/common/board_detect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c
index c4ef282..6f07ec3 100644
--- a/board/ti/common/board_detect.c
+++ b/board/ti/common/board_detect.c
@@ -451,8 +451,8 @@ void board_ti_set_ethaddr(int index)
for (i = 0; i < num_macs; i++) {
u64_to_mac(mac1 + i, mac_addr);
if (is_valid_ethaddr(mac_addr)) {
- eth_setenv_enetaddr_by_index("eth", i + index,
- mac_addr);
+ eth_env_set_enetaddr_by_index("eth", i + index,
+ mac_addr);
}
}
}