diff mbox

[U-Boot,v2,4/5] sun7i: add USB EHCI configuration

Message ID 5058eb0a6ee96737bddd7e1f3e4867065c35927a.1405460093.git.rbyshko@gmail.com
State Changes Requested
Delegated to: Ian Campbell
Headers show

Commit Message

Roman Byshko July 15, 2014, 9:56 p.m. UTC
Signed-off-by: Roman Byshko <rbyshko@gmail.com>
---
 include/configs/sun7i.h | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Ian Campbell July 16, 2014, 7:27 p.m. UTC | #1
On Tue, 2014-07-15 at 23:56 +0200, Roman Byshko wrote:
> Signed-off-by: Roman Byshko <rbyshko@gmail.com>

Acked-by: Ian Campbell <ijc@hellion.org.uk>
diff mbox

Patch

diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
index 9b693f7..0a1d83e 100644
--- a/include/configs/sun7i.h
+++ b/include/configs/sun7i.h
@@ -16,6 +16,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
  */