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

Marek Vasut marex at denx.de
Mon Mar 5 13:41:35 CET 2012


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 at 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


More information about the U-Boot mailing list