sunxi: add general USB settings
authorRoman Byshko <rbyshko@gmail.com>
Thu, 24 Jul 2014 20:54:22 +0000 (22:54 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 31 Jul 2014 13:37:22 +0000 (15:37 +0200)
General configuration settings to be set if CONFIG_USB_EHCI
is enabled for an Allwinner aka sunxi SoC.

Signed-off-by: Roman Byshko <rbyshko@gmail.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
include/configs/sunxi-common.h

index 1505510cda86b3aeb738e5ae1572f8574bf4ebf4..6a3044f9ce3dc6f4fd9a342bd8f7e6bbe2cf7783 100644 (file)
 #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 && \