ARM: atmel: sama5d4_xplained: enable usb ethernet gadget
authorBo Shen <voice.shen@atmel.com>
Wed, 3 Dec 2014 10:02:23 +0000 (18:02 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 19 Jan 2015 14:02:48 +0000 (15:02 +0100)
Signed-off-by: Bo Shen <voice.shen@atmel.com>
include/configs/sama5d4_xplained.h

index 104edef1026e5b8568dbf970878ca0a094b12366..996973d99b6cb236f848c7d12ad63f61069878f5 100644 (file)
 #define CONFIG_USB_STORAGE
 #endif
 
+/* USB device */
+#define CONFIG_USB_GADGET
+#define CONFIG_USB_GADGET_DUALSPEED
+#define CONFIG_USB_GADGET_ATMEL_USBA
+#define CONFIG_USB_ETHER
+#define CONFIG_USB_ETH_RNDIS
+#define CONFIG_USBNET_MANUFACTURER      "Atmel SAMA5D4EK"
+
 #if defined(CONFIG_CMD_USB) || defined(CONFIG_CMD_MMC)
 #define CONFIG_CMD_FAT
 #define CONFIG_DOS_PARTITION