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: anzhou <anzhou@nvidia.com>
Change-Id: I43c60b82fa7e43d5b05d87fbe7d673d729380d82
This commit is contained in:
anzhou 2020-07-21 16:22:44 +08:00 committed by Varun Wadekar
parent 26c22a5e33
commit 5a22eb421d
5 changed files with 20 additions and 1 deletions

View File

@ -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)

View File

@ -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.

View File

@ -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
* *

View File

@ -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
******************************************************************************/ ******************************************************************************/

View File

@ -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
******************************************************************************/ ******************************************************************************/