diff options
author | Ken Liu <Ken.Liu@arm.com> | 2020-11-04 13:56:02 +0800 |
---|---|---|
committer | Ken Liu <ken.liu@arm.com> | 2020-11-27 07:45:11 +0000 |
commit | fc6e8a9fd45d50052dda8c2de5016441e2d272aa (patch) | |
tree | 60a2ed18bf3a1545ecf691037481c7f1746b9d7d /platform/ext/common | |
parent | 98d16de2af86172da5f0659993159eb63d691ef2 (diff) | |
download | trusted-firmware-m-fc6e8a9fd45d50052dda8c2de5016441e2d272aa.tar.gz |
Build: Minor fix in the scatter loader file
'S_CODE_SIZE' represents the maximum size for whole secure code, it
should constrain LR_CODE instead of 'ER_TFM_CODE'.
Change-Id: I977897f6ce52f770050e0e4a099300ff76dbfb2d
Signed-off-by: Ken Liu <Ken.Liu@arm.com>
Diffstat (limited to 'platform/ext/common')
-rw-r--r-- | platform/ext/common/armclang/tfm_common_s.sct.template | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ext/common/armclang/tfm_common_s.sct.template b/platform/ext/common/armclang/tfm_common_s.sct.template index cb505c5820..1e5036322c 100644 --- a/platform/ext/common/armclang/tfm_common_s.sct.template +++ b/platform/ext/common/armclang/tfm_common_s.sct.template @@ -18,10 +18,10 @@ #include "region_defs.h" -LR_CODE S_CODE_START { +LR_CODE S_CODE_START S_CODE_SIZE { /**** This initial section contains common code for secure binary */ - ER_TFM_CODE S_CODE_START S_CODE_SIZE { + ER_TFM_CODE S_CODE_START { *.o (RESET +First) * (+RO) } |