Patchwork [U-Boot,v3,3/3] Armada100: gplugD: Add USB command support

login
register
mail settings
Submitter Ajay Bhargav
Date Feb. 13, 2012, 1:27 p.m.
Message ID <1329139664-31749-3-git-send-email-ajay.bhargav@einfochips.com>
Download mbox | patch
Permalink /patch/140904/
State Accepted
Delegated to: Marek Vasut
Headers show

Comments

Ajay Bhargav - Feb. 13, 2012, 1:27 p.m.
This patch adds support for USB commands and USB storage device for
Marvell gplugD

Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
---
Changes for v2:
	- removed unwanted ifdef
	- fat and ext2 command support moved to new patch
Changes for v3:
	- Not changed

 include/configs/gplugd.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
Prafulla Wadaskar - March 2, 2012, 7:28 a.m.
> -----Original Message-----
> From: Ajay Bhargav [mailto:ajay.bhargav@einfochips.com]
> Sent: 13 February 2012 18:58
> To: linux@bohmer.net
> Cc: Prafulla Wadaskar; marek.vasut@gmail.com; u-boot@lists.denx.de;
> Ajay Bhargav
> Subject: [v3 3/3] Armada100: gplugD: Add USB command support
> 
> This patch adds support for USB commands and USB storage device for
> Marvell gplugD
> 
> Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
> ---
> Changes for v2:
> 	- removed unwanted ifdef
> 	- fat and ext2 command support moved to new patch
> Changes for v3:
> 	- Not changed
> 
>  include/configs/gplugd.h |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h
> index 9813309..061ebe6 100644
> --- a/include/configs/gplugd.h
> +++ b/include/configs/gplugd.h
> @@ -72,6 +72,7 @@
>  #define CONFIG_CMD_I2C
>  #define CONFIG_CMD_AUTOSCRIPT
>  #undef CONFIG_CMD_FPGA
> +#define CONFIG_CMD_USB
> 
>  /* Disable DCACHE */
>  #define CONFIG_SYS_DCACHE_OFF
> @@ -134,4 +135,15 @@
>  #define CONFIG_CMD_EDITENV
>  #define CONFIG_CMD_SAVEENV
> 
> +#ifdef CONFIG_CMD_USB
> +#define CONFIG_USB_EHCI
> +#define CONFIG_USB_EHCI_ARMADA100
> +#define CONFIG_EHCI_IS_TDI
> +#define CONFIG_USB_STORAGE
> +#endif /* CONFIG_CMD_USB */
> +
> +#define CONFIG_DOS_PARTITION
> +#define CONFIG_ISO_PARTITION
> +#define CONFIG_SUPPORT_VFAT
> +
>  #endif	/* __CONFIG_GPLUGD_H */
> --
> 1.7.7.2


Applied to u-boot-marvell.git next branch

Regards..
Prafulla . . .

Patch

diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h
index 9813309..061ebe6 100644
--- a/include/configs/gplugd.h
+++ b/include/configs/gplugd.h
@@ -72,6 +72,7 @@ 
 #define CONFIG_CMD_I2C
 #define CONFIG_CMD_AUTOSCRIPT
 #undef CONFIG_CMD_FPGA
+#define CONFIG_CMD_USB
 
 /* Disable DCACHE */
 #define CONFIG_SYS_DCACHE_OFF
@@ -134,4 +135,15 @@ 
 #define CONFIG_CMD_EDITENV
 #define CONFIG_CMD_SAVEENV
 
+#ifdef CONFIG_CMD_USB
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_ARMADA100
+#define CONFIG_EHCI_IS_TDI
+#define CONFIG_USB_STORAGE
+#endif /* CONFIG_CMD_USB */
+
+#define CONFIG_DOS_PARTITION
+#define CONFIG_ISO_PARTITION
+#define CONFIG_SUPPORT_VFAT
+
 #endif	/* __CONFIG_GPLUGD_H */