USB: Align buffers at cacheline
authorPuneet Saxena <puneets@nvidia.com>
Tue, 3 Apr 2012 09:26:06 +0000 (14:56 +0530)
committerMarek Vasut <marex@denx.de>
Sun, 20 May 2012 06:32:32 +0000 (08:32 +0200)
commitf57661394a8b00029e37a5567a869e92bd13f3b8
treed00363f82c23324c8e69353c7bfb38ae183c803c
parent66cf64107b891d1cc8112ff76b5687195af2f5b0
USB: Align buffers at cacheline

This avoids cache-alignment warnings shown in console
when a usb command is entered.

Whenever X bytes of unaligned buffer is invalidated, arm core
invalidates X + Y bytes as per the cache line size and throws
these warnings.

Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Signed-off-by: Marek Vasut <marex@denx.de>
common/cmd_usb.c
common/usb.c
common/usb_hub.c
common/usb_storage.c
include/scsi.h
include/usb.h