This patch enables USB MSC and USB Keyboard support for TI
OMAP3530 EVM platform.

Signed-off-by: Ravi Babu <[email protected]>
Signed-off-by: Swaminathan S <[email protected]>
Signed-off-by: Thomas Abraham <[email protected]>
Signed-off-by: Ajay Kumar Gupta <[email protected]>
---
 include/configs/omap3_evm.h |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h
index f4498a9..92f5b51 100644
--- a/include/configs/omap3_evm.h
+++ b/include/configs/omap3_evm.h
@@ -156,6 +156,26 @@
 /* Environment information */
 #define CONFIG_BOOTDELAY       10
 
+/*
+ * USB MSC and Keyboard support
+ */
+#define CONFIG_USB_OMAP3530
+#define CONFIG_MUSB_HCD
+
+#ifdef CONFIG_USB_OMAP3530
+#define CONFIG_CMD_USB
+#ifdef CONFIG_MUSB_HCD
+#define CONFIG_USB_STORAGE
+#define CONGIG_CMD_STORAGE
+#define CONFIG_CMD_FAT
+#define CONFIG_USB_KEYBOARD
+#endif
+#ifdef CONFIG_USB_KEYBOARD
+#define CONFIG_SYS_USB_EVENT_POLL
+#define CONFIG_PREBOOT "usb start"
+#endif
+#endif
+
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "loadaddr=0x82000000\0" \
        "console=ttyS2,115200n8\0" \
-- 
1.5.6

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to