]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: mediatek: add support for PDMA v2
authorWeijie Gao <weijie.gao@mediatek.com>
Fri, 9 Sep 2022 11:59:26 +0000 (19:59 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2022 19:09:15 +0000 (15:09 -0400)
commite7ad046b64cf7d745e32c2e223d24c4f7f867521
treecb1bada2ba028944b137e7d0008baed22a2ced51
parent7d928c3f2798fc2602e3c320b533fa721a92df38
net: mediatek: add support for PDMA v2

This patch adds support for PDMA v2 hardware. The PDMA v2 has extended the
DMA descriptor to 8-words, and some of its fields have changed comparing
to the v1 hardware.

Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/net/mtk_eth.c
drivers/net/mtk_eth.h