[U-Boot] [PATCH v7] usb: align buffers at cacheline

Marek Vasut
2012-03-05T12:41:35Z

Dear Puneet Saxena,

This patch was scheduled for aplication. Thank you very much for your good work
on this patch!

I'll do final test on my platform before applying this.

> As DMA expects the buffers to be equal and larger then
> cache lines, This aligns buffers at cacheline.
>
> Signed-off-by: Puneet Saxena <puneets@nvidia.com>
> ---
>
> Changes for V6:
> - Cosmetic changes.
>
> Changes for V7:
> - Trivial change, missed removing memcpy. Removed now.
>
> common/cmd_usb.c | 3 +-
> common/usb.c | 50 +++++++++++++++++++-----------------
> common/usb_storage.c | 59
> ++++++++++++++++++++---------------------- disk/part_dos.c |
> 2 +-
> drivers/usb/host/ehci-hcd.c | 8 ++++++
> include/scsi.h | 4 ++-
> include/usb.h | 4 ++-
> 7 files changed, 71 insertions(+), 59 deletions(-)

Best regards,
Marek Vasut