public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] cm_t35: use new low level interface for usb ehci
@ 2012-12-03 14:17 Nikita Kiryanov
  2012-12-03 14:49 ` Marek Vasut
  0 siblings, 1 reply; 2+ messages in thread
From: Nikita Kiryanov @ 2012-12-03 14:17 UTC (permalink / raw)
  To: u-boot

Update usb host support to use new version of omap_ehci_hcd_init.

Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
---
Explanation: apparently there was a failed remote update and I did not have
the latest version of the code.
@Marek: If it's possible to fold this into commit "cm-t35: add USB host support"
that would be greatly appreciated.

 board/cm_t35/cm_t35.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/cm_t35/cm_t35.c b/board/cm_t35/cm_t35.c
index 19367df..dd55d47 100644
--- a/board/cm_t35/cm_t35.c
+++ b/board/cm_t35/cm_t35.c
@@ -503,7 +503,7 @@ struct omap_usbhs_board_data usbhs_bdata = {
 };
 
 #define SB_T35_USB_HUB_RESET_GPIO	167
-int ehci_hcd_init(void)
+int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor)
 {
 	u8 val;
 	int offset;
@@ -529,7 +529,7 @@ int ehci_hcd_init(void)
 	twl4030_i2c_write_u8(TWL4030_CHIP_GPIO, 0xC0, offset);
 	udelay(1);
 
-	return omap_ehci_hcd_init(&usbhs_bdata);
+	return omap_ehci_hcd_init(&usbhs_bdata, hccr, hcor);
 }
 
 int ehci_hcd_stop(void)
-- 
1.7.10.4

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

* [U-Boot] [PATCH] cm_t35: use new low level interface for usb ehci
  2012-12-03 14:17 [U-Boot] [PATCH] cm_t35: use new low level interface for usb ehci Nikita Kiryanov
@ 2012-12-03 14:49 ` Marek Vasut
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Vasut @ 2012-12-03 14:49 UTC (permalink / raw)
  To: u-boot

Dear Nikita Kiryanov,

> Update usb host support to use new version of omap_ehci_hcd_init.
> 
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
> ---
> Explanation: apparently there was a failed remote update and I did not have
> the latest version of the code.
> @Marek: If it's possible to fold this into commit "cm-t35: add USB host
> support" that would be greatly appreciated.
> 
>  board/cm_t35/cm_t35.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
[...]

Applied, thanks

Best regards,
Marek Vasut

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

end of thread, other threads:[~2012-12-03 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-03 14:17 [U-Boot] [PATCH] cm_t35: use new low level interface for usb ehci Nikita Kiryanov
2012-12-03 14:49 ` Marek Vasut

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