]> git.ipfire.org Git - thirdparty/u-boot.git/commit
rockchip: rk3328: set DDR as non-secure in SPL
authorKever Yang <kever.yang@rock-chips.com>
Mon, 29 Jul 2019 09:18:18 +0000 (12:18 +0300)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 5 Aug 2019 13:05:02 +0000 (21:05 +0800)
commita9775a82a52162b346ab3c851d91b3cd7e856518
tree4564e21fa3414e5bf9d2483332271800b00dddea
parent2b157019bb4c11303497f58b659f08f5ef9d064a
rockchip: rk3328: set DDR as non-secure in SPL

Set DDR as non-secure so that MMC DMA can access.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
[cherry picked from https://github.com/rockchip-linux/u-boot/commit/bfe741ab9eb4f97371a4e6c24185419d57a3a75f and https://github.com/rockchip-linux/u-boot/commit/73d952acc8cc1ddad6652ba71895d9fe928c1e4b with minor modifications]
Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/rk3328/rk3328.c