Skip to contentSkip to conversation

usb : musb : Enabling USB MSC support for DM6446 (TI DaVinci) platform

PATCH Superseded Thomas Abraham 1 participant 1 message Dec 16, 2008

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 6/6 usb : musb : Enabling USB MSC support for DM6446 (TI DaVinci) platform

Enabling USB MSC support for DM6446 (TI DaVinci) platform in the configuration file.

---
 include/configs/davinci_dvevm.h |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
include/configs/davinci_dvevm.h +14 -0
index 6885b2c..106900f 100644
@@ -172,6 +172,8 @@
 #define CONFIG_SYS_LONGHELP
 #define CONFIG_CRC32_VERIFY
 #define CONFIG_MX_CYCLIC
+#define CONFIG_MUSB_HCD
+#define CONFIG_USB_DAVINCI
 /*===================*/
 /* Linux Information */
 /*===================*/
@@ -204,6 +206,18 @@
 #else
 #error "Either CONFIG_SYS_USE_NAND or CONFIG_SYS_USE_NOR _MUST_ be defined !!!"
 #endif
+/*==========================*/
+/* USB MSC support (if any) */
+/*==========================*/
+#ifdef CONFIG_USB_DAVINCI
+#define CONFIG_CMD_USB
+#ifdef CONFIG_MUSB_HCD
+#define CONFIG_USB_STORAGE
+#define CONFIG_CMD_STORAGE
+#define CONFIG_CMD_FAT
+#define CONFIG_DOS_PARTITION
+#endif
+#endif
 /*=======================*/
 /* KGDB support (if any) */
 /*=======================*/
Signature · 1 line
1.5.6