rockchip: rk3308: enable spl-fifo-mode for emmc
authorAndy Yan <andy.yan@rock-chips.com>
Tue, 26 Nov 2019 13:15:38 +0000 (21:15 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 5 Dec 2019 15:53:07 +0000 (23:53 +0800)
We need load some parts of ATF to sram, but rockchip
dwmmc controllers can't do dma to non-ddr addresses
space, so set the mmc controller into fifo mode in spl.

And show my best respect to Heiko's work for this solution.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3308-u-boot.dtsi

index 1a68decef386efe23958bf1d5814c06132157d31..f5a595337e55ac450becde2491bba42bd7e47cbd 100644 (file)
@@ -12,6 +12,8 @@
 };
 
 &emmc {
+       /* mmc to sram can't do dma, prevent aborts transferring TF-A parts */
+       u-boot,spl-fifo-mode;
        u-boot,dm-pre-reloc;
 };