juno: Define the extents of all bootloader images

Define:
 - Extents of BL1 RO and RW sections
 - BL2 limit address
 - BL3-1 limit address
 - BL3-2 limit address

Change-Id: Id86243c4d5b1f769a9b0d5a639665c3cb5e14aee
This commit is contained in:
Sandrine Bailleux 2014-05-27 13:06:57 +01:00
parent 0babea93d3
commit 0897d02c06
1 changed files with 12 additions and 0 deletions

View File

@ -171,16 +171,27 @@
#define SYS_LED_EL_SHIFT 0x1
#define SYS_LED_EC_SHIFT 0x3
/*******************************************************************************
* BL1 specific defines.
* BL1 RW data is relocated from ROM to RAM at runtime so we need 2 base
* addresses.
******************************************************************************/
#define BL1_RO_BASE (FLASH_BASE + BL1_ROM_BYPASS_OFFSET)
#define BL1_RO_LIMIT (FLASH_BASE + FLASH_SIZE)
#define BL1_RW_BASE TZRAM_BASE
#define BL1_RW_LIMIT BL31_BASE
/*******************************************************************************
* BL2 specific defines.
******************************************************************************/
#define BL2_BASE (TZRAM_BASE + TZRAM_SIZE - 0xd000)
#define BL2_LIMIT (TZRAM_BASE + TZRAM_SIZE)
/*******************************************************************************
* BL3-1 specific defines.
******************************************************************************/
#define BL31_BASE (TZRAM_BASE + 0x8000)
#define BL31_LIMIT BL32_BASE
/*******************************************************************************
* BL3-0 specific defines.
@ -195,6 +206,7 @@
#define TSP_SEC_MEM_BASE TZRAM_BASE
#define TSP_SEC_MEM_SIZE TZRAM_SIZE
#define BL32_BASE (TZRAM_BASE + TZRAM_SIZE - 0x1d000)
#define BL32_LIMIT BL2_BASE
/*******************************************************************************
* Platform specific page table and MMU setup constants