mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
Merge git://git.denx.de/u-boot-dm
This commit is contained in:
@@ -281,12 +281,9 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USB_MUSB_GADGET
|
||||
/* Removing USB gadget and can be enabled adter adding support usb DM */
|
||||
#ifndef CONFIG_DM_ETH
|
||||
#define CONFIG_USB_ETHER
|
||||
#define CONFIG_USB_ETH_RNDIS
|
||||
#define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00"
|
||||
#endif /* CONFIG_DM_ETH */
|
||||
#endif /* CONFIG_USB_MUSB_GADGET */
|
||||
|
||||
/*
|
||||
|
||||
@@ -254,6 +254,13 @@ int eth_setenv_enetaddr_by_index(const char *base_name, int index,
|
||||
uchar *enetaddr);
|
||||
|
||||
|
||||
/*
|
||||
* Initialize USB ethernet device with CONFIG_DM_ETH
|
||||
* Returns:
|
||||
* 0 is success, non-zero is error status.
|
||||
*/
|
||||
int usb_ether_init(void);
|
||||
|
||||
/*
|
||||
* Get the hardware address for an ethernet interface .
|
||||
* Args:
|
||||
|
||||
Reference in New Issue
Block a user