[U-Boot] [PATCH 4/4] usb : OMAP3 : Enabling USB MSC and Keyboard support for TI OMAP3530 EVM platform

Thomas Abraham t-abraham at ti.com
Sun Jan 4 08:15:31 CET 2009


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

Signed-off-by: Ravi Babu <ravibabu at ti.com>
Signed-off-by: Swaminathan S <swami.iyer at ti.com>
Signed-off-by: Thomas Abraham <t-abraham at ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta at ti.com>
---
 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



More information about the U-Boot mailing list