Browse Source

fix(corstone1000): update memory layout comments

The SRAM (CVM) memory layout was outdated in the platform_defs.h of
the Corstone-1000 platform. Updated it to list every bootloaders and
to be aligned with the implementation. Also added the starting (base)
addresses of each partition.

Change-Id: Ie8e8416ee2650ff25a8d4c61d8d9af789bc639c1
Signed-off-by: Bence Balogh <bence.balogh@arm.com>
pull/1996/merge
Bence Balogh 4 months ago
parent
commit
d7417adc21
  1. 23
      plat/arm/board/corstone1000/common/include/platform_def.h

23
plat/arm/board/corstone1000/common/include/platform_def.h

@ -55,39 +55,42 @@
/* Memory related constants */
/* SRAM (CVM) memory layout
/* Memory mappings of where the BLs in the FIP are copied to
*
* <ARM_TRUSTED_SRAM_BASE>
* <ARM_TRUSTED_SRAM_BASE> = 0x02000000
* partition size: sizeof(meminfo_t) = 16 bytes
* content: memory info area used by the next BL
*
* <ARM_FW_CONFIG_BASE>
* <ARM_FW_CONFIG_BASE> = 0x02000010
* partition size: 4080 bytes
*
* <ARM_BL2_MEM_DESC_BASE>
* <ARM_BL2_MEM_DESC_BASE> = 0x02001000
* partition size: 4 KB
* content: Area where BL2 copies the images descriptors
*
* <ARM_BL_RAM_BASE> = <BL32_BASE>
* partition size: 688 KB
* <ARM_BL_RAM_BASE> = <BL32_BASE> = 0x02002000
* partition size: 3752 KB
* content: BL32 (optee-os)
*
* <CORSTONE1000_TOS_FW_CONFIG_BASE> = 0x20ae000
* <CORSTONE1000_TOS_FW_CONFIG_BASE> = 0x023AC000
* partition size: 8 KB
* content: BL32 config (TOS_FW_CONFIG)
*
* <BL31_BASE>
* <BL31_BASE> = 0x023AE000
* partition size: 140 KB
* content: BL31
*
* <BL2_SIGNATURE_BASE>
* <BL2_SIGNATURE_BASE> = 0x023D1000
* partition size: 4 KB
* content: MCUBOOT data needed to verify TF-A BL2
*
* <BL2_BASE>
* <BL2_BASE> = 0x023D2000
* partition size: 176 KB
* content: BL2
*
* <BL33_BASE> = 0x80000000
* partition size: 12 MB
* content: BL33 (U-Boot)
*/
/* DDR memory */

Loading…
Cancel
Save