Tegra: trusty: pass profiling base to Trusted OS
authorVarun Wadekar <vwadekar@nvidia.com>
Thu, 3 Jan 2019 00:30:01 +0000 (16:30 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Fri, 18 Jan 2019 17:21:51 +0000 (09:21 -0800)
* 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 <asharan@nvidia.com>
plat/nvidia/tegra/common/tegra_bl31_setup.c

index 80cc7129a1b333313db662b4626d9708b2f90ba6..30ff0a38d47414abf1639dcb34ec909b8074b8aa 100644 (file)
@@ -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