diff options
author | Andy Yan | 2019-11-26 21:15:38 +0800 |
---|---|---|
committer | Kever Yang | 2019-12-05 23:53:07 +0800 |
commit | 081a51c937952b91957873badafa11ad2a025315 (patch) | |
tree | e47171796c45eaaa4d716777c83a4f9589259b2a | |
parent | bbc8457ae0be51c09fa4d13767a1365d82fd1154 (diff) |
rockchip: rk3308: enable spl-fifo-mode for emmc
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>
-rw-r--r-- | arch/arm/dts/rk3308-u-boot.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/dts/rk3308-u-boot.dtsi b/arch/arm/dts/rk3308-u-boot.dtsi index 1a68decef38..f5a595337e5 100644 --- a/arch/arm/dts/rk3308-u-boot.dtsi +++ b/arch/arm/dts/rk3308-u-boot.dtsi @@ -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; }; |