Enable musb gadget in Ethernet mode on port 0. Signed-off-by: Ilya Yanok <ilya.ya...@cogentembedded.com> --- include/configs/am335x_evm.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index c827ebf..e0f0656 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -224,6 +224,25 @@ #define CONFIG_SKIP_LOWLEVEL_INIT #endif + +/* + * USB configuration + */ + +#define CONFIG_USB_AM335X +#define CONFIG_MUSB_GADGET +#define CONFIG_MUSB_GADGET_PORT0 +#define CONFIG_MUSB_PIO_ONLY +#define CONFIG_USB_GADGET_DUALSPEED + +#ifdef CONFIG_MUSB_GADGET +#define CONFIG_USB_ETHER +#define CONFIG_USB_ETH_RNDIS +#define CONFIG_CMD_NET +#define CONFIG_CMD_DHCP +#define CONFIG_CMD_TFTP +#endif /* CONFIG_MUSB_GADGET */ + /* Unsupported features */ #undef CONFIG_USE_IRQ -- 1.7.9.5 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot