diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-01-11 17:17:00 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2015-01-22 12:34:56 +0100 |
commit | 1a800f7af3ef5f42ff703fd4b313b79e471f6ced (patch) | |
tree | 81f65ef00e29291c33933c42387323b550ddfe74 /include/configs/sunxi-common.h | |
parent | ea87948f1ac904f482fdcefc1b428961efb4dcc7 (diff) |
sunxi: Hookup OTG USB controller support
Hookup OTG USB controller support and enable the otg controller + USB-keyb
on various tablets.
This allows tablet owners to interact with u-boot without needing to solder
a serial console onto their tablet PCB.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r-- | include/configs/sunxi-common.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h index e839053e2b..7a66a4dca6 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -247,8 +247,16 @@ #endif #ifdef CONFIG_USB_EHCI -#define CONFIG_CMD_USB #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1 +#endif + +#ifdef CONFIG_USB_MUSB_SUNXI +#define CONFIG_MUSB_HOST +#define CONFIG_MUSB_PIO_ONLY +#endif + +#if defined CONFIG_USB_EHCI || defined CONFIG_USB_MUSB_SUNXI +#define CONFIG_CMD_USB #define CONFIG_USB_STORAGE #endif |