]> git.baikalelectronics.ru Git - arm-tf.git/commitdiff
Tegra186: relocate bl31.bin to the SYSRAM
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 30 Nov 2015 20:05:04 +0000 (12:05 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 20 Mar 2017 16:12:33 +0000 (09:12 -0700)
Tegra186 has an on-die, 320KB, "System RAM" memory. Out of the total
size, 256KB are allocated for the CPU TrustZone binaries - EL3 monitor
and Trusted OS.

This patch changes the base address for bl31.bin to the SysRAM base
address. The carveout is too small for the Trusted OS, so we relocate
only the monitor binary.

Change-Id: Ib4b667ff2a7a619589851338f9d0bfb02078c575
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
plat/nvidia/tegra/soc/t186/platform_t186.mk

index e29282a396f345a8bf606303e18e524087c293e3..5e55d9d0c55774fbf1b5048c13be880aa4a9a49b 100644 (file)
@@ -33,7 +33,7 @@ ENABLE_NS_L2_CPUECTRL_RW_ACCESS               := 1
 $(eval $(call add_define,ENABLE_NS_L2_CPUECTRL_RW_ACCESS))
 
 # platform settings
-TZDRAM_BASE                            := 0xEA800000
+TZDRAM_BASE                            := 0x30000000
 $(eval $(call add_define,TZDRAM_BASE))
 
 PLATFORM_CLUSTER_COUNT                 := 2