diff options
author | Soby Mathew <soby.mathew@arm.com> | 2023-10-06 16:38:13 +0100 |
---|---|---|
committer | Shruti Gupta <shruti.gupta@arm.com> | 2023-10-10 14:31:18 +0100 |
commit | 6e5c99643b199e064f1e8090d963671965ced1d7 (patch) | |
tree | c5079b4d7de61ed810e5241021b5005d35990ba7 /plat | |
parent | 92b99ee435ebafa5e503b19dce753079ad35218d (diff) |
fix(rme): append realm.bin at end of tftf.bin
Currently realm.bin is appended to tftf.bin at offset of 10 MB.
This patch removes this dependency by reserving empty sections
for realm image and dependencies, in tftf binary after
all loadable sections (end of binary),
and append realm.bin at end of tftf.bin later in build process.
The patch removes the need for TFTF to map memory corresponding
to Realm payload dynamically at runtime.
Change-Id: Iead2dc62ff2965cf7bb03e61c93e76df218da973
Signed-off-by: Shruti Gupta <shruti.gupta@arm.com>
Diffstat (limited to 'plat')
-rw-r--r-- | plat/arm/fvp/platform.mk | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/plat/arm/fvp/platform.mk b/plat/arm/fvp/platform.mk index cb1a37b..99183ec 100644 --- a/plat/arm/fvp/platform.mk +++ b/plat/arm/fvp/platform.mk @@ -4,9 +4,6 @@ # SPDX-License-Identifier: BSD-3-Clause # -# If not specified as build arguments, set default to 10 MB -TFTF_MAX_IMAGE_SIZE:=10485760 - # Default number of threads per CPU on FVP FVP_MAX_PE_PER_CPU := 1 @@ -82,7 +79,6 @@ $(eval $(call add_define,NS_BL2U_DEFINES,FVP_MAX_PE_PER_CPU)) $(eval $(call add_define,TFTF_DEFINES,FVP_CLUSTER_COUNT)) $(eval $(call add_define,TFTF_DEFINES,FVP_MAX_CPUS_PER_CLUSTER)) $(eval $(call add_define,TFTF_DEFINES,FVP_MAX_PE_PER_CPU)) -$(eval $(call add_define,TFTF_DEFINES,TFTF_MAX_IMAGE_SIZE)) # Default PA size for FVP platform PA_SIZE := 34 |