diff mbox

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

Message ID 4a1dbc8bd5f4664fb1bf236ac7c7a7fee88cc7f0.1404849876.git.rbyshko@gmail.com
State Superseded
Delegated to: Ian Campbell
Headers show

Commit Message

Roman Byshko July 8, 2014, 8:21 p.m. UTC
Signed-off-by: Roman Byshko <rbyshko@gmail.com>
---
 include/configs/sunxi-common.h | 6 ++++++
 1 file changed, 6 insertions(+)
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 && \