]> git.baikalelectronics.ru Git - uboot.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)
commit6d4191998e29ae481659daffffa4ec1f4427b03f
treecb1bada2ba028944b137e7d0008baed22a2ced51
parent26f035cecf15f8e4b65b1b20cc5d19d38367b5de
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