From db82b619a096bc7a68fa8c57c4e9ddddd42ba575 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Wed, 2 Jan 2019 16:30:01 -0800 Subject: [PATCH] Tegra: trusty: pass profiling base to Trusted OS * Previous boot loader passes Shared DRAM address to be used by Trusted OS to dump its boot timing records * This patch adds support to pass the parameter to Trusted OS during cold boot Change-Id: I9f95bb6de80b1bbd2d2d6ec42619f895d911b8ed Signed-off-by: Akshay Sharan --- plat/nvidia/tegra/common/tegra_bl31_setup.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plat/nvidia/tegra/common/tegra_bl31_setup.c b/plat/nvidia/tegra/common/tegra_bl31_setup.c index 80cc7129a..30ff0a38d 100644 --- a/plat/nvidia/tegra/common/tegra_bl31_setup.c +++ b/plat/nvidia/tegra/common/tegra_bl31_setup.c @@ -293,6 +293,9 @@ void plat_trusty_set_boot_args(aapcs64_params_t *args) if (args->arg4 != 0U) { args->arg2 = args->arg4; } + + /* Profiler Carveout Base */ + args->arg3 = args->arg5; } #endif