mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-16 04:01:31 +00:00
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 <Damien.LeMoal@wdc.com> Signed-off-by: Sean Anderson <seanga2@gmail.com> Reviewed-by: Rick Chen <rick@andestech.com>
This commit is contained in:
parent
32cef69da0
commit
963911e9e1
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue