summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-05-10 14:10:27 +0200
committerSimon Glass <sjg@chromium.org>2015-05-14 18:49:32 -0600
commit6a72e804a2b27e95cc7394876cc6a57f29e70817 (patch)
treeb22373532e3b8cd48032c3c707262e99cfe116e3 /include/configs
parent8d837a1f7df64e79e7e91e6fbdfbe96b3e96c361 (diff)
sunxi: ohci: Add ohci usb host controller support
This commit adds support for the OHCI companion controller, which makes usb-1 devices directly plugged into to usb root port work. Note for now this switches usb-keyboard support for sunxi back from int-queue support to the old interrupt polling method. Adding int-queue support to the ohci code and switching back to int-queue support is in the works. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/sunxi-common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index c8ebb54f37..222e739461 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -297,6 +297,9 @@ extern int soft_i2c_gpio_scl;
#endif
#ifdef CONFIG_USB_EHCI
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_USB_OHCI_SUNXI
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 1
#define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 1
#endif
@@ -314,7 +317,7 @@ extern int soft_i2c_gpio_scl;
#define CONFIG_CONSOLE_MUX
#define CONFIG_PREBOOT
#define CONFIG_SYS_STDIO_DEREGISTER
-#define CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE
+#define CONFIG_SYS_USB_EVENT_POLL
#endif
#if !defined CONFIG_ENV_IS_IN_MMC && \