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

Marek Vasut marex at denx.de
Mon Feb 13 10:04:25 CET 2012


> This patch adds support for USB commands and USB storage device for
> Marvell gplugD
> 
> Signed-off-by: Ajay Bhargav <ajay.bhargav at 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 at 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 */


More information about the U-Boot mailing list