diff mbox

[U-Boot,v3,4/5] sun7i: add USB EHCI settings

Message ID cce70293d22714ed927d20149bdc4dfca4655a5a.1405895188.git.rbyshko@gmail.com
State Accepted
Delegated to: Hans de Goede
Headers show

Commit Message

Roman Byshko July 24, 2014, 8:54 p.m. UTC
Specific USB EHCI settings to be set for sun7i if
CONFIG_USB_EHCI is enabled.

Signed-off-by: Roman Byshko <rbyshko@gmail.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
---
 include/configs/sun7i.h | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
index d9be104..0c9bddd 100644
--- a/include/configs/sun7i.h
+++ b/include/configs/sun7i.h
@@ -17,6 +17,14 @@ 
 
 #define CONFIG_SYS_PROMPT		"sun7i# "
 
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_SUNXI
+
+#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
+#define CONFIG_SUNXI_USB_VBUS0_GPIO	230
+#define CONFIG_SUNXI_USB_VBUS1_GPIO	227
+#endif
+
 /*
  * Include common sunxi configuration where most the settings are
  */