]> git.baikalelectronics.ru Git - uboot.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)
commit56f48738a6b40bd47b23b9531a34e0ab26ceca47
tree82bbff29e16835b84f4b089a4681c7a992915b30
parenta89513a155dc4f37cf5a55830a55d6799468ebe2
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