]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am335x_evm: do not define usb ether gadget when Eth DM is defined
authorMugunthan V N <mugunthanvnm@ti.com>
Mon, 7 Sep 2015 08:52:19 +0000 (14:22 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:18:34 +0000 (14:18 -0400)
Since usb ether gadget doesn't have support for driver model, so
not defining usb ether gadget when ethernet driver model is
defined.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/configs/am335x_evm.h

index b0361998f18bb7aaf3a3607616accd5600c73a37..f85a0c8c5e7792a91036b5dfa991c560ef4ab55f 100644 (file)
 #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 */
 
 /* USB TI's IDs */
 #define CONFIG_G_DNL_VENDOR_NUM 0x0451