diff options
author | Roman Byshko <rbyshko@gmail.com> | 2014-07-24 22:54:22 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-07-31 15:37:22 +0200 |
commit | 3584f30ce95a3758c21b90cc07bc791d4656bf8a (patch) | |
tree | ae2b2afb29677d605b61f3ca94f5231addf39174 /include/configs/sunxi-common.h | |
parent | 8d154002f30979c4ef911a3f93e41859bd3beabf (diff) | |
download | u-boot-imx-3584f30ce95a3758c21b90cc07bc791d4656bf8a.zip u-boot-imx-3584f30ce95a3758c21b90cc07bc791d4656bf8a.tar.gz u-boot-imx-3584f30ce95a3758c21b90cc07bc791d4656bf8a.tar.bz2 |
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 <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>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index 1505510..6a3044f 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 && \ |