From: Steve Sakoman Date: Fri, 25 Jun 2010 19:52:01 +0000 (-0700) Subject: ARMV7: Enable musb driver and usbtty on OMAP4 Panda X-Git-Tag: v2010.09-rc1~28^2~3^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cbd7b09cb3a3841710b31b5d1b208a4cceae433c;p=u-boot ARMV7: Enable musb driver and usbtty on OMAP4 Panda Signed-off-by: Steve Sakoman Signed-off-by: Sandeep Paulraj --- diff --git a/include/configs/omap4_panda.h b/include/configs/omap4_panda.h index 4bec00bf0e..1d76467277 100644 --- a/include/configs/omap4_panda.h +++ b/include/configs/omap4_panda.h @@ -112,6 +112,20 @@ #define CONFIG_SYS_MMC_SET_DEV 1 #define CONFIG_DOS_PARTITION 1 +/* USB */ +#define CONFIG_MUSB_UDC 1 +#define CONFIG_USB_OMAP3 1 + +/* USB device configuration */ +#define CONFIG_USB_DEVICE 1 +#define CONFIG_USB_TTY 1 +#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1 +/* Change these to suit your needs */ +#define CONFIG_USBD_VENDORID 0x0451 +#define CONFIG_USBD_PRODUCTID 0x5678 +#define CONFIG_USBD_MANUFACTURER "Texas Instruments" +#define CONFIG_USBD_PRODUCT_NAME "OMAP4 Panda" + /* Flash */ #define CONFIG_SYS_NO_FLASH 1 @@ -145,6 +159,7 @@ #define CONFIG_EXTRA_ENV_SETTINGS \ "loadaddr=0x82000000\0" \ "console=ttyS2,115200n8\0" \ + "usbtty=cdc_acm\0" \ "mmcdev=1\0" \ "mmcroot=/dev/mmcblk0p2 rw\0" \ "mmcrootfstype=ext3 rootwait\0" \