public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/4] usb: mxs: Disable USB Port 1 for i.MX23
@ 2013-01-28 20:01 Otavio Salvador
  2013-01-28 20:01 ` [U-Boot] [PATCH v2 2/4] mx23evk: Enable USB support Otavio Salvador
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Otavio Salvador @ 2013-01-28 20:01 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>
---
Changes in v2: None

 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] 7+ messages in thread

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

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

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