mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
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>
This commit is contained in:
@@ -239,7 +239,7 @@ void eth_set_current(void); /* set nterface to ethcur var */
|
||||
|
||||
int eth_get_dev_index(void); /* get the device index */
|
||||
void eth_parse_enetaddr(const char *addr, uchar *enetaddr);
|
||||
int eth_getenv_enetaddr(const char *name, uchar *enetaddr);
|
||||
int eth_env_get_enetaddr(const char *name, uchar *enetaddr);
|
||||
int eth_env_set_enetaddr(const char *name, const uchar *enetaddr);
|
||||
|
||||
/**
|
||||
@@ -275,7 +275,7 @@ int usb_ether_init(void);
|
||||
* Returns:
|
||||
* Return true if the address is valid.
|
||||
*/
|
||||
int eth_getenv_enetaddr_by_index(const char *base_name, int index,
|
||||
int eth_env_get_enetaddr_by_index(const char *base_name, int index,
|
||||
uchar *enetaddr);
|
||||
|
||||
int eth_init(void); /* Initialize the device */
|
||||
|
Reference in New Issue
Block a user