diff options
author | Stefan Roese <sr@denx.de> | 2016-11-22 15:14:23 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2016-12-08 16:36:22 (GMT) |
commit | c7ac15388ec92e7c46924dee067c7253603dd01c (patch) | |
tree | 2d6f3b0a85fb16b389d677b8c92ccc0fd3aa3533 /common/xyzModem.c | |
parent | bead08800a2f054a90849e0c244022013fbe0196 (diff) | |
download | u-boot-c7ac15388ec92e7c46924dee067c7253603dd01c.tar.xz |
net: usb: r8152: Use ALLOC_CACHE_ALIGN_BUFFER() to allocate the buffers
Testing on theadorable (Armada XP) has shown, that using this driver
results in many cache misaligned warning, such as:
CACHE: Misaligned operation at range [7fabd8fc, 7fabd900]
This patch now uses the ALLOC_CACHE_ALIGN_BUFFER() macro to allocate the
buffers on a cache aligned boundary. This fixes all warnings seen on the
Armada XP platform.
Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Ted Chen <tedchen@realtek.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'common/xyzModem.c')
0 files changed, 0 insertions, 0 deletions