summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-11-07 14:51:12 +0100
committerHans de Goede <hdegoede@redhat.com>2014-11-13 14:49:02 +0100
commit76946dfe69359496aa0fd144d102068334974916 (patch)
tree87843406c39abea1f0be964cd1c951f8f42076cb /include
parent115200ceb0faad679bcc7d7dba4b63ff065606c5 (diff)
sun6i: ehci: Add sun6i ehci support
Add support for the 2 ehci controllers found on the sun6i (A31) soc. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sun6i.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/sun6i.h b/include/configs/sun6i.h
index 95587715153..1b738527990 100644
--- a/include/configs/sun6i.h
+++ b/include/configs/sun6i.h
@@ -18,6 +18,11 @@
#define CONFIG_SYS_PROMPT "sun6i# "
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_SUNXI
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+#endif
+
/*
* Include common sunxi configuration where most the settings are
*/