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

Roman Byshko
2014-07-08T20:21:57Z

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 && \
--
2.0.0