@ -346,24 +346,24 @@
# define CACHE_WRITEBACK_GRANULE (U(1) << ARM_CACHE_WRITEBACK_SHIFT)
/*
* To enable TB_ FW_CONFIG to be loaded by BL1 , define the corresponding base
* To enable FW_CONFIG to be loaded by BL1 , define the corresponding base
* and limit . Leave enough space of BL2 meminfo .
*/
# define ARM_TB_ FW_CONFIG_BASE (ARM_BL_RAM_BASE + sizeof(meminfo_t))
# define ARM_TB_ FW_CONFIG_LIMIT (ARM_BL_RAM_BASE + (PAGE_SIZE / 2U))
# define ARM_FW_CONFIG_BASE (ARM_BL_RAM_BASE + sizeof(meminfo_t))
# define ARM_FW_CONFIG_LIMIT (ARM_BL_RAM_BASE + (PAGE_SIZE / 2U))
/*
* Boot parameters passed from BL2 to BL31 / BL32 are stored here
*/
# define ARM_BL2_MEM_DESC_BASE ARM_TB_ FW_CONFIG_LIMIT
# define ARM_BL2_MEM_DESC_BASE ARM_FW_CONFIG_LIMIT
# define ARM_BL2_MEM_DESC_LIMIT (ARM_BL2_MEM_DESC_BASE + \
( PAGE_SIZE / 2U ) )
/*
* Define limit of firmware configuration memory :
* ARM_TB_ FW_CONFIG + ARM_BL2_MEM_DESC memory
* ARM_FW_CONFIG + ARM_BL2_MEM_DESC memory
*/
# define ARM_FW_CONFIG_LIMIT (ARM_BL_RAM_BASE + PAGE_SIZE)
# define ARM_FW_CONFIGS _LIMIT (ARM_BL_RAM_BASE + PAGE_SIZE)
/*******************************************************************************
* BL1 specific defines .
@ -461,7 +461,7 @@
* SP_MIN is the only BL image in SRAM . Allocate the whole of SRAM ( excluding
* the page reserved for fw_configs ) to BL32
*/
# define BL32_BASE ARM_FW_CONFIG_LIMIT
# define BL32_BASE ARM_FW_CONFIGS _LIMIT
# define BL32_LIMIT (ARM_BL_RAM_BASE + ARM_BL_RAM_SIZE)
# else
/* Put BL32 below BL2 in the Trusted SRAM.*/
@ -505,7 +505,7 @@
# define TSP_SEC_MEM_BASE ARM_BL_RAM_BASE
# define TSP_SEC_MEM_SIZE ARM_BL_RAM_SIZE
# define TSP_PROGBITS_LIMIT BL31_BASE
# define BL32_BASE ARM_FW_CONFIG_LIMIT
# define BL32_BASE ARM_FW_CONFIGS _LIMIT
# define BL32_LIMIT BL31_BASE
# elif ARM_TSP_RAM_LOCATION_ID == ARM_TRUSTED_DRAM_ID
# define TSP_SEC_MEM_BASE PLAT_ARM_TRUSTED_DRAM_BASE