mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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:
parent
018f530323
commit
fd1e959e91
58 changed files with 83 additions and 83 deletions
|
@ -133,7 +133,7 @@ int board_eth_init(bd_t *bis)
|
|||
if (!eth_getenv_enetaddr(STR_ENV_ETHADDR, eth_addr)) {
|
||||
dev = eth_get_dev_by_index(0);
|
||||
if (dev) {
|
||||
eth_setenv_enetaddr(STR_ENV_ETHADDR, dev->enetaddr);
|
||||
eth_env_set_enetaddr(STR_ENV_ETHADDR, dev->enetaddr);
|
||||
} else {
|
||||
printf("zoom1: Couldn't get eth device\n");
|
||||
rc = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue