]> git.sur5r.net Git - u-boot/commit
rockchip; rk3399: disable SRAM security region
authorKever Yang <kever.yang@rock-chips.com>
Fri, 5 May 2017 03:01:43 +0000 (11:01 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 7 Jun 2017 12:57:49 +0000 (06:57 -0600)
commitc4a921513a77e6be5c8fbf68df72deb899ce9c37
tree9a9a969135c4053a244cba4284de00c16b6df286
parent91ff05275a32e459901c53fad9266e0274e5f68a
rockchip; rk3399: disable SRAM security region

Some host like SD and eMMC may use DMA to transter data to SRAM,
set memory to non-secure to make sure the address can be accessed.

The security of SRAM in OS suppose to initialized in ATF bl31, and
the SPL is before the bl31.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-rockchip/rk3399-board-spl.c