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

This patch enables USB MSC and USB Keyboard support for TI OMAP3530 EVM platform.
Signed-off-by: Ravi Babu ravibabu@ti.com Signed-off-by: Swaminathan S swami.iyer@ti.com Signed-off-by: Thomas Abraham t-abraham@ti.com Signed-off-by: Ajay Kumar Gupta ajay.gupta@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" \

Hello Thomas,
2009/1/4 Thomas Abraham t-abraham@ti.com:
This patch enables USB MSC and USB Keyboard support for TI OMAP3530 EVM platform.
Signed-off-by: Ravi Babu ravibabu@ti.com Signed-off-by: Swaminathan S swami.iyer@ti.com Signed-off-by: Thomas Abraham t-abraham@ti.com Signed-off-by: Ajay Kumar Gupta ajay.gupta@ti.com
include/configs/omap3_evm.h | 20 ++++++++++++++++++++
This file is also missing currently in the u-boot-usb tree...
Kin Regards,
Remy
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 U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (2)
-
Remy Bohmer
-
Thomas Abraham