Commit 5a22eb42 authored by anzhou's avatar anzhou Committed by Varun Wadekar
Browse files

Tegra: platform specific BL31_SIZE



This patch moves the BL31_SIZE to the Tegra SoC specific
tegra_def.h. This helps newer platforms configure the size of
the memory available for BL31.
Signed-off-by: default avataranzhou <anzhou@nvidia.com>
Change-Id: I43c60b82fa7e43d5b05d87fbe7d673d729380d82
parent 26c22a5e
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
/******************************************************************************* /*******************************************************************************
* BL31 specific defines. * BL31 specific defines.
******************************************************************************/ ******************************************************************************/
#define BL31_SIZE U(0x40000)
#define BL31_BASE TZDRAM_BASE #define BL31_BASE TZDRAM_BASE
#define BL31_LIMIT (TZDRAM_BASE + BL31_SIZE - 1) #define BL31_LIMIT (TZDRAM_BASE + BL31_SIZE - 1)
#define BL32_BASE (TZDRAM_BASE + BL31_SIZE) #define BL32_BASE (TZDRAM_BASE + BL31_SIZE)
......
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
#include <lib/utils_def.h> #include <lib/utils_def.h>
/*******************************************************************************
* Platform BL31 specific defines.
******************************************************************************/
#define BL31_SIZE U(0x40000)
/******************************************************************************* /*******************************************************************************
* This value is used by the PSCI implementation during the `SYSTEM_SUSPEND` * This value is used by the PSCI implementation during the `SYSTEM_SUSPEND`
* call as the `state-id` field in the 'power state' parameter. * call as the `state-id` field in the 'power state' parameter.
......
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
#include <lib/utils_def.h> #include <lib/utils_def.h>
/*******************************************************************************
* Platform BL31 specific defines.
******************************************************************************/
#define BL31_SIZE U(0x40000)
/******************************************************************************* /*******************************************************************************
* MCE apertures used by the ARI interface * MCE apertures used by the ARI interface
* *
......
...@@ -9,6 +9,11 @@ ...@@ -9,6 +9,11 @@
#include <lib/utils_def.h> #include <lib/utils_def.h>
/*******************************************************************************
* Platform BL31 specific defines.
******************************************************************************/
#define BL31_SIZE U(0x40000)
/******************************************************************************* /*******************************************************************************
* Chip specific cluster and cpu numbers * Chip specific cluster and cpu numbers
******************************************************************************/ ******************************************************************************/
......
...@@ -10,6 +10,11 @@ ...@@ -10,6 +10,11 @@
#include <lib/utils_def.h> #include <lib/utils_def.h>
/*******************************************************************************
* Platform BL31 specific defines.
******************************************************************************/
#define BL31_SIZE U(0x40000)
/******************************************************************************* /*******************************************************************************
* Power down state IDs * Power down state IDs
******************************************************************************/ ******************************************************************************/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment