From: Sean Anderson Date: Mon, 12 Oct 2020 18:18:15 +0000 (-0400) Subject: riscv: k210: Reduce DMA block size X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=963911e9e1c17b2f973ff49ddd51060d6c340c5f;p=u-boot.git riscv: k210: Reduce DMA block size Although the max DMA size supported by the hardware register is 22 bits (or 4M), the Linux driver for this device only supports transfers of up to 2M. On a device with 8M total memory, I don't think it will make too much of a difference. Reported-by: Damien Le Moal Signed-off-by: Sean Anderson Reviewed-by: Rick Chen --- diff --git a/arch/riscv/dts/k210.dtsi b/arch/riscv/dts/k210.dtsi index 7605c01f3c..81ef8ca4f7 100644 --- a/arch/riscv/dts/k210.dtsi +++ b/arch/riscv/dts/k210.dtsi @@ -200,8 +200,8 @@ dma-channels = <6>; snps,dma-masters = <2>; snps,data-width = <5>; - snps,block-size = <0x400000 0x400000 0x400000 - 0x400000 0x400000 0x400000>; + snps,block-size = <0x200000 0x200000 0x200000 + 0x200000 0x200000 0x200000>; snps,axi-max-burst-len = <256>; status = "disabled"; };