]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dwc_eth_qos: Pad descriptors to cacheline size
authorMarek Vasut <marex@denx.de>
Thu, 7 Jan 2021 10:12:16 +0000 (11:12 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 19 Jan 2021 14:15:02 +0000 (09:15 -0500)
commit6f1e668d964ebd3244a99288ea4bda7b7b8627c3
tree82bbff29e16835b84f4b089a4681c7a992915b30
parentdd70ff481526a87f69bec732fcc402c60441560c
net: dwc_eth_qos: Pad descriptors to cacheline size

The DWMAC4 IP has the possibility to skip up to 7 AXI bus width size words
after the descriptor. Use this to pad the descriptors to cacheline size and
remove the need for noncached memory altogether. Moreover, this lets Tegra
use the generic cache flush / invalidate operations.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Cc: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Patrice Chotard <patrice.chotard@foss.st.com>
drivers/net/dwc_eth_qos.c
include/configs/stm32mp1.h