[U-Boot] [PATCH 2/4] rockchip: rk3308: enable spl-fifo-mode for emmc
Kever Yang
kever.yang at rock-chips.com
Sun Dec 1 14:59:55 CET 2019
On 2019/11/26 下午9:15, Andy Yan wrote:
> 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 at rock-chips.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
>
> arch/arm/dts/rk3308-u-boot.dtsi | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/dts/rk3308-u-boot.dtsi b/arch/arm/dts/rk3308-u-boot.dtsi
> index 1a68decef3..f5a595337e 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;
> };
>
More information about the U-Boot
mailing list