summaryrefslogtreecommitdiff
path: root/plat/nvidia/tegra/include
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2016-05-23 11:47:34 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2017-03-30 16:49:05 -0700
commit48afb167b3a06b15da11241496b7ff09af755f85 (patch)
tree2e345909ee2c317124eb2241f7ffcf1c65663fcc /plat/nvidia/tegra/include
parent962014f535034cf4b875ebb17aa209a5dcb090b3 (diff)
Tegra186: handlers to get BL31 arguments from previous bootloader
This patch overrides the default handlers to get BL31 arguments from the previous bootloader. The previous bootloader stores the pointer to the arguments in PMC secure scratch register #53. BL31 is the first component running on the CPU, as there isn't a previous bootloader. We set the RESET_TO_BL31 flag to enable the path which assumes that there are no input parameters passed by the previous bootloader. Change-Id: Idacc1df292a70c9c1cb4d5c3a774bd796175d5e8 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'plat/nvidia/tegra/include')
-rw-r--r--plat/nvidia/tegra/include/t186/tegra_def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/nvidia/tegra/include/t186/tegra_def.h b/plat/nvidia/tegra/include/t186/tegra_def.h
index 277b479e..9a5d8a51 100644
--- a/plat/nvidia/tegra/include/t186/tegra_def.h
+++ b/plat/nvidia/tegra/include/t186/tegra_def.h
@@ -150,6 +150,8 @@
#define SECURE_SCRATCH_RSV6 0x680
#define SECURE_SCRATCH_RSV11_LO 0x6A8
#define SECURE_SCRATCH_RSV11_HI 0x6AC
+#define SECURE_SCRATCH_RSV53_LO 0x7F8
+#define SECURE_SCRATCH_RSV53_HI 0x7FC
/*******************************************************************************
* Tegra Memory Mapped Control Register Access Bus constants