From: Roman Byshko Date: Thu, 24 Jul 2014 20:54:22 +0000 (+0200) Subject: sunxi: add general USB settings X-Git-Tag: v2014.10-rc2~73^2^2~13 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3584f30ce95a3758c21b90cc07bc791d4656bf8a;p=u-boot sunxi: add general USB settings General configuration settings to be set if CONFIG_USB_EHCI is enabled for an Allwinner aka sunxi SoC. Signed-off-by: Roman Byshko Acked-by: Ian Campbell Acked-by: Hans de Goede Signed-off-by: Hans de Goede --- diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 1505510cda..6a3044f9ce 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -215,6 +215,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 && \