diff mbox

[U-Boot,v2,3/5] sunxi: add USB options to configs

Message ID 09700f333fc4f4f672bb8e9ed53242a432f89f3d.1405460093.git.rbyshko@gmail.com
State Changes Requested
Delegated to: Ian Campbell
Headers show

Commit Message

Roman Byshko July 15, 2014, 9:56 p.m. UTC
Signed-off-by: Roman Byshko <rbyshko@gmail.com>
---
 include/configs/sunxi-common.h | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Ian Campbell July 16, 2014, 7:27 p.m. UTC | #1
On Tue, 2014-07-15 at 23:56 +0200, Roman Byshko wrote:
> Signed-off-by: Roman Byshko <rbyshko@gmail.com>

Acked-by: Ian Campbell <ijc@hellion.org.uk>
Marek Vasut July 17, 2014, 8:43 a.m. UTC | #2
On Tuesday, July 15, 2014 at 11:56:50 PM, Roman Byshko wrote:

I will stop reviewing here until all these patches have proper commit message.

> Signed-off-by: Roman Byshko <rbyshko@gmail.com>
> ---
>  include/configs/sunxi-common.h | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/include/configs/sunxi-common.h
> b/include/configs/sunxi-common.h index 5d72d62..c7746bb 100644
> --- a/include/configs/sunxi-common.h
> +++ b/include/configs/sunxi-common.h
> @@ -181,6 +181,12 @@
>  #define CONFIG_BOOTP_SEND_HOSTNAME
>  #endif
> 
> +#ifdef CONFIG_USB_EHCI
> +#define CONFIG_CMD_USB
> +#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1
> +#define CONFIG_USB_STORAGE
> +#endif
> +
>  #if !defined CONFIG_ENV_IS_IN_MMC && \
>      !defined CONFIG_ENV_IS_IN_NAND && \
>      !defined CONFIG_ENV_IS_IN_FAT && \

Best regards,
Marek Vasut
diff mbox

Patch

diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 5d72d62..c7746bb 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -181,6 +181,12 @@ 
 #define CONFIG_BOOTP_SEND_HOSTNAME
 #endif
 
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_CMD_USB
+#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1
+#define CONFIG_USB_STORAGE
+#endif
+
 #if !defined CONFIG_ENV_IS_IN_MMC && \
     !defined CONFIG_ENV_IS_IN_NAND && \
     !defined CONFIG_ENV_IS_IN_FAT && \