]> git.sur5r.net Git - u-boot/commit
net: mvpp2: Round up top tx buffer boundaries for dcache ops
authorStefan Roese <sr@denx.de>
Thu, 16 Feb 2017 12:58:37 +0000 (13:58 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:39:44 +0000 (07:39 +0200)
commitf811e04ad76019fccb79c8ac2c84a4e84ebef5fd
tree0859d36dd7f1fa3e02ae7073cbda34adaef809da
parente1b27d27a64d3b007c877f48a1aa106d228db7fc
net: mvpp2: Round up top tx buffer boundaries for dcache ops

check_cache_range() warns that the top boundaries are not properly
aligned when flushing or invalidating the buffers and make these
operations fail.

This gets rid of the warnings:
CACHE: Misaligned operation at range ...

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c