summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2015-09-07 08:52:19 (GMT)
committerTom Rini <trini@konsulko.com>2015-10-22 18:18:34 (GMT)
commit09bf4f2454f4996756ae756e34fe989c3882976a (patch)
treea041dc676e4ed3c238515d438567d1835383d107 /include/configs
parentbd83e3df4555ebb409014b5b4a62d6ee7825416a (diff)
downloadu-boot-fsl-qoriq-09bf4f2454f4996756ae756e34fe989c3882976a.tar.xz
am335x_evm: do not define usb ether gadget when Eth DM is defined
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>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/am335x_evm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index b036199..f85a0c8 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -338,9 +338,12 @@
#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