usb: gadget: usb_ether: Move settings to common
The usb_ether gadget duplicates the USB settings for the manufacturer, product ID and vendor ID. Make sure we use the common option so that we can expect a single VID/PID couple for a single device. Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
@@ -100,7 +100,6 @@
|
||||
#ifdef CONFIG_CMD_USB
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USBNET_MANUFACTURER "AriesEmbedded"
|
||||
#define CONFIG_USB_FUNCTION_MASS_STORAGE
|
||||
#define CONFIG_SYS_DFU_DATA_BUF_SIZE (1 * 1024 * 1024)
|
||||
#define DFU_DEFAULT_POLL_TIMEOUT 300
|
||||
|
||||
@@ -62,7 +62,6 @@
|
||||
#endif
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D2_PTC"
|
||||
|
||||
/* Ethernet Hardware */
|
||||
#define CONFIG_MACB
|
||||
|
||||
@@ -67,7 +67,6 @@
|
||||
#endif
|
||||
|
||||
/* USB device */
|
||||
#define CONFIG_USBNET_MANUFACTURER "L+G VInCo"
|
||||
|
||||
/* Ethernet Hardware */
|
||||
#define CONFIG_PHY_SMSC
|
||||
|
||||
Reference in New Issue
Block a user