From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Mon, 5 Mar 2012 13:41:35 +0100 Subject: [U-Boot] [PATCH v7] usb: align buffers at cacheline In-Reply-To: <1330950116-12346-1-git-send-email-puneets@nvidia.com> References: <201203051303.19943.marex@denx.de> <1330950116-12346-1-git-send-email-puneets@nvidia.com> Message-ID: <201203051341.36005.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > > 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