aboutsummaryrefslogtreecommitdiff
path: root/plat/nvidia/tegra/include/platform_def.h
diff options
context:
space:
mode:
authorVarun Wadekar <vwadekar@nvidia.com>2015-06-05 12:57:27 +0530
committerVarun Wadekar <vwadekar@nvidia.com>2015-06-11 14:46:32 +0530
commitdc7fdad251301019162707325a949c27905b4e71 (patch)
tree318c802b9bb2c147d7df22ad365554dd7762fef9 /plat/nvidia/tegra/include/platform_def.h
parentde975e85ff4a3712fc8ff8aa5556e0ec0a11e63c (diff)
downloadtrusted-firmware-a-dc7fdad251301019162707325a949c27905b4e71.tar.gz
Boot Trusted OS' on Tegra SoCs
This patch adds support to run a Trusted OS during boot time. The previous stage bootloader passes the entry point information in the 'bl32_ep_info' structure, which is passed over to the SPD. The build system expects the dispatcher to be passed as an input parameter using the 'SPD=<dispatcher>' option. The Tegra docs have also been updated with this information. Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'plat/nvidia/tegra/include/platform_def.h')
-rw-r--r--plat/nvidia/tegra/include/platform_def.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/plat/nvidia/tegra/include/platform_def.h b/plat/nvidia/tegra/include/platform_def.h
index 6be777ecaa..d4b0ce20b6 100644
--- a/plat/nvidia/tegra/include/platform_def.h
+++ b/plat/nvidia/tegra/include/platform_def.h
@@ -69,8 +69,11 @@
/*******************************************************************************
* BL31 specific defines.
******************************************************************************/
+#define BL31_SIZE 0x20000
#define BL31_BASE TZDRAM_BASE
-#define BL31_LIMIT (TZDRAM_BASE + 0x11FFF)
+#define BL31_LIMIT (TZDRAM_BASE + BL31_SIZE - 1)
+#define BL32_BASE (TZDRAM_BASE + BL31_SIZE)
+#define BL32_LIMIT TZDRAM_END
/*******************************************************************************
* Platform specific page table and MMU setup constants