]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3399: enable spl-fifo-mode for sdmmc
authorDeepak Das <deepakdas.linux@gmail.com>
Wed, 15 Apr 2020 03:25:24 +0000 (08:55 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 22 May 2020 09:24:30 +0000 (17:24 +0800)
adapting commit fa2047c47310 ("rockchip: rk3328: enable spl-fifo-mode
for emmc and sdmmc") for rk3399.
Since mmc to sram can't do dma, add patch to prevent aborts transferring
TF-A parts.

Signed-off-by: Deepak Das <deepakdas.linux@gmail.com>
arch/arm/dts/rk3399-u-boot.dtsi

index 9bb130a92a962689bd993d40f4377e3910c05726..22017ecd60da0606f8d0a9bb58b55a23aa464b7a 100644 (file)
@@ -91,6 +91,9 @@
 
 &sdmmc {
        u-boot,dm-pre-reloc;
+
+       /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
+       u-boot,spl-fifo-mode;
 };
 
 &spi1 {