public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/4] usb: mxs: Disable USB Port 1 for i.MX23
@ 2013-01-28 19:13 Otavio Salvador
  2013-01-28 19:13 ` [U-Boot] [PATCH 2/4] mx23evk: Enable USB support Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Otavio Salvador @ 2013-01-28 19:13 UTC (permalink / raw)
  To: u-boot

The i.MX23 just one USB port so disable the second controller probe
when building for i.MX23.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 drivers/usb/host/ehci-mxs.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/usb/host/ehci-mxs.c b/drivers/usb/host/ehci-mxs.c
index 5062af5..28c8cde 100644
--- a/drivers/usb/host/ehci-mxs.c
+++ b/drivers/usb/host/ehci-mxs.c
@@ -50,10 +50,12 @@ int mxs_ehci_get_port(struct ehci_mxs *mxs_usb, int port)
 		usb_base = MXS_USBCTRL0_BASE;
 		phy_base = MXS_USBPHY0_BASE;
 		break;
+#ifdef CONFIG_MX28
 	case 1:
 		usb_base = MXS_USBCTRL1_BASE;
 		phy_base = MXS_USBPHY1_BASE;
 		break;
+#endif
 	default:
 		printf("CONFIG_EHCI_MXS_PORT (port = %d)\n", port);
 		return -1;
-- 
1.8.1

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

end of thread, other threads:[~2013-01-28 20:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-28 19:13 [U-Boot] [PATCH 1/4] usb: mxs: Disable USB Port 1 for i.MX23 Otavio Salvador
2013-01-28 19:13 ` [U-Boot] [PATCH 2/4] mx23evk: Enable USB support Otavio Salvador
2013-01-28 19:13 ` [U-Boot] [PATCH 3/4] mx23_olinuxino: " Otavio Salvador
2013-01-28 19:15   ` Marek Vasut
2013-01-28 19:30     ` Otavio Salvador
2013-01-28 19:14 ` [U-Boot] [PATCH 4/4] mx23_olinuxino: Add ethernet support Otavio Salvador
2013-01-28 19:12   ` Fabio Estevam
2013-01-28 19:13     ` Otavio Salvador
2013-01-28 19:17       ` Marek Vasut
2013-01-28 19:21       ` Fabio Estevam
2013-01-28 19:16   ` Marek Vasut
2013-01-28 19:48   ` Fabio Estevam
2013-01-28 19:56     ` Marek Vasut
2013-01-28 20:03       ` Otavio Salvador

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