From cd5ca303c4861932ed2540cc21b0aec55ca56a6d Mon Sep 17 00:00:00 2001 From: Bo Shen Date: Wed, 3 Dec 2014 18:02:21 +0800 Subject: [PATCH] ARM: atmel: sama5d4ek: enable usb ethernet gadget Signed-off-by: Bo Shen --- include/configs/sama5d4ek.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h index cbdb3a2943..09ab4d7f25 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.39.5