Re: [U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-18 Thread Marek Vasut
Dear Ilya Yanok, Dear Marek, ok, I finally managed to fix it. Will post the patches in a few seconds. Regards, Ilya. I applied and pushed it to u-boot-usb. Can you please give it a proper test now and check if nothing is missing? Thanks Ilya, Tom, for working on this! Best regards,

Re: [U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-17 Thread Ilya Yanok
Dear Marek, On Mon, Jul 16, 2012 at 2:47 PM, Marek Vasut ma...@denx.de wrote: ok, I finally managed to fix it. Will post the patches in a few seconds. So the link I sent you was true afterall ? :) Not exactly ;) Actually I've already switched to another task but when I went to bed one

Re: [U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-16 Thread Ilya Yanok
Dear Marek, ok, I finally managed to fix it. Will post the patches in a few seconds. Regards, Ilya. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-16 Thread Marek Vasut
Dear Ilya Yanok, Dear Marek, ok, I finally managed to fix it. Will post the patches in a few seconds. So the link I sent you was true afterall ? :) What was the problem? I'll pick the patches for -next though, unless we're 100% definitelly sure they won't break anything else. Regards,

[U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-15 Thread Ilya Yanok
From: Tom Rini tr...@ti.com The USB spec says that 32 bytes is the minimum required alignment. However on some platforms we have a larger minimum requirement for cache coherency. In those cases, use that value rather than the USB spec minimum. We add a cpp check to usb.h to define

Re: [U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-15 Thread Marek Vasut
Dear Ilya Yanok, [...] diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 04300be..59039f4 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -34,7 +34,10 @@ struct ehci_hccr *hccr;/* R/O registers, not need for volatile */ volatile

Re: [U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-15 Thread Ilya Yanok
Dear Marek, On Sun, Jul 15, 2012 at 6:59 PM, Marek Vasut ma...@denx.de wrote: index 04300be..59039f4 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -34,7 +34,10 @@ struct ehci_hccr *hccr;/* R/O registers, not need for volatile */ volatile struct

Re: [U-Boot] [PATCH V2 3/8] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-15 Thread Marek Vasut
Dear Ilya Yanok, Dear Marek, On Sun, Jul 15, 2012 at 6:59 PM, Marek Vasut ma...@denx.de wrote: index 04300be..59039f4 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -34,7 +34,10 @@ struct ehci_hccr *hccr;/* R/O registers, not need for