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>
This commit is contained in:
Simon Glass
2017-08-03 12:22:11 -06:00
committed by Tom Rini
parent 018f530323
commit fd1e959e91
58 changed files with 83 additions and 83 deletions

View File

@@ -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);
}
}
}