diff options
author | Fugang Duan <fugang.duan@nxp.com> | 2020-12-07 18:51:41 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-21 13:28:16 +0100 |
commit | 00d09f335ed3495273285e1d4f28547e72595bda (patch) | |
tree | a0a8948577780c6de31f7407ad2b9b90601e903a /drivers/video/fbdev/skeletonfb.c | |
parent | 6f6747ec2dcd28bc0a5b00bf9e34370661ab1bb9 (diff) | |
download | linux-stable-00d09f335ed3495273285e1d4f28547e72595bda.tar.gz linux-stable-00d09f335ed3495273285e1d4f28547e72595bda.tar.bz2 linux-stable-00d09f335ed3495273285e1d4f28547e72595bda.zip |
net: stmmac: overwrite the dma_cap.addr64 according to HW design
[ Upstream commit f119cc9818eb33b66e977ad3af75aef6500bbdc3 ]
The current IP register MAC_HW_Feature1[ADDR64] only defines
32/40/64 bit width, but some SOCs support others like i.MX8MP
support 34 bits but it maps to 40 bits width in MAC_HW_Feature1[ADDR64].
So overwrite dma_cap.addr64 according to HW real design.
Fixes: 94abdad6974a ("net: ethernet: dwmac: add ethernet glue logic for NXP imx8 chip")
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
Signed-off-by: Joakim Zhang <qiangqing.zhang@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/video/fbdev/skeletonfb.c')
0 files changed, 0 insertions, 0 deletions