public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/7] sun4i: add USB EHCI settings
@ 2014-07-27 21:25 Hans de Goede
  2014-07-27 21:25 ` [U-Boot] [PATCH 2/7] sun5i: " Hans de Goede
                   ` (6 more replies)
  0 siblings, 7 replies; 27+ messages in thread
From: Hans de Goede @ 2014-07-27 21:25 UTC (permalink / raw)
  To: u-boot

Specific USB EHCI settings to be set for sun4i if CONFIG_USB_EHCI is enabled.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 include/configs/sun4i.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h
index 037f995..5611ecc 100644
--- a/include/configs/sun4i.h
+++ b/include/configs/sun4i.h
@@ -16,6 +16,18 @@
 
 #define CONFIG_SYS_PROMPT		"sun4i# "
 
+#ifdef CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_SUNXI
+
+#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
+#ifndef CONFIG_SUNXI_USB_VBUS0_GPIO
+#define CONFIG_SUNXI_USB_VBUS0_GPIO	SUNXI_GPH(6)
+#endif
+#ifndef CONFIG_SUNXI_USB_VBUS1_GPIO
+#define CONFIG_SUNXI_USB_VBUS1_GPIO	SUNXI_GPH(3)
+#endif
+#endif
+
 /*
  * Include common sunxi configuration where most the settings are
  */
-- 
2.0.1

^ permalink raw reply related	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2014-09-29  8:31 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-27 21:25 [U-Boot] [PATCH 1/7] sun4i: add USB EHCI settings Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 2/7] sun5i: " Hans de Goede
2014-07-28  7:42   ` Ian Campbell
2014-07-28  8:22     ` Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 3/7] sunxi: Enable EHCI on various sunxi boards Hans de Goede
2014-07-28  7:44   ` Ian Campbell
2014-07-27 21:25 ` [U-Boot] [PATCH 4/7] sunxi: Add CONFIG_MACPWR option Hans de Goede
2014-07-28  7:48   ` Ian Campbell
2014-07-28  7:51     ` [U-Boot] [linux-sunxi] " Chen-Yu Tsai
2014-07-28  7:59       ` Ian Campbell
2014-07-28  8:23     ` Hans de Goede
2014-07-28  8:09   ` [U-Boot] " thomas.langer at lantiq.com
2014-07-28  8:59     ` Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 5/7] sun4i: Add support for a number of new sun4i boards Hans de Goede
2014-07-28  7:54   ` Ian Campbell
2014-07-28  8:46     ` Hans de Goede
2014-07-28  8:50       ` Ian Campbell
2014-09-18 16:07   ` [U-Boot] [linux-sunxi] " Siarhei Siamashka
2014-09-28 15:58     ` Hans de Goede
2014-09-28 19:34       ` Arnd Gronenberg
2014-09-28 22:09         ` Siarhei Siamashka
2014-09-29  8:31           ` Arnd Gronenberg
2014-09-29  5:38       ` Siarhei Siamashka
2014-09-29  5:46         ` Siarhei Siamashka
2014-07-27 21:25 ` [U-Boot] [PATCH 6/7] sun5i: Add support for a number of new sun5i boards Hans de Goede
2014-07-27 21:25 ` [U-Boot] [PATCH 7/7] sun7i: Add support for a number of new sun7i boards Hans de Goede
2014-07-28  7:38 ` [U-Boot] [PATCH 1/7] sun4i: add USB EHCI settings Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox