]> git.ipfire.org Git - people/ms/u-boot.git/commit
net: davinci_emac: Remove useless dcache ops on descriptors
authorkarl beldan <karl.beldan@gmail.com>
Sun, 14 Aug 2016 15:03:15 +0000 (15:03 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 22 Aug 2016 19:21:06 +0000 (14:21 -0500)
commita02c232336c626b96e8473f67471d2b82fc0f9d4
tree78a378db258172fae9abfab265dfbf2d9725aefa
parent1ff65d440d3976f86d4e9ee2539ebdc1083e8e86
net: davinci_emac: Remove useless dcache ops on descriptors

ATM the rx and tx descriptors are handled as cached memory while they
lie in a dedicated RAM of the SoCs, which is an uncached area.
Removing the said dcache ops, while optimizing the logic and clarifying
the code, also gets rid of most of the check_cache_range() incurred
warnings:
CACHE: Misaligned operation at range

Signed-off-by: Karl Beldan <karl.beldan+oss@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/davinci_emac.c