[U-Boot] [PATCH 4/6] ARM: atmel: sama5d4ek: enable usb ethernet gadget

Bo Shen voice.shen at atmel.com
Wed Dec 3 11:02:21 CET 2014


Signed-off-by: Bo Shen <voice.shen at atmel.com>
---

 include/configs/sama5d4ek.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h
index cbdb3a2..09ab4d7 100644
--- a/include/configs/sama5d4ek.h
+++ b/include/configs/sama5d4ek.h
@@ -121,6 +121,14 @@
 #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
-- 
2.1.0.24.g4109c28



More information about the U-Boot mailing list