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

login
register
mail settings
Submitter Ajay Bhargav
Date Feb. 13, 2012, 8:57 a.m.
Message ID <1329123447-21617-3-git-send-email-ajay.bhargav@einfochips.com>
Download mbox | patch
Permalink /patch/140868/
State Accepted
Commit 099cb1eea9ed837f717082521dfb3c0c809e4c50
Delegated to: Marek Vasut
Headers show

Comments

Ajay Bhargav - Feb. 13, 2012, 8:57 a.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

 include/configs/gplugd.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
Marek Vasut - Feb. 13, 2012, 9:04 a.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
> 
>  include/configs/gplugd.h |   12 ++++++++++++
>  1 files changed, 12 insertions(+), 0 deletions(-)
> 

Acked-by: Marek Vasut <marex@denx.de>

> 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 */

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 */