diff options
author | Ambroise Vincent <ambroise.vincent@arm.com> | 2019-07-16 17:19:38 +0100 |
---|---|---|
committer | Zelalem <zelalem.aweke@arm.com> | 2019-12-09 11:09:09 -0600 |
commit | a71c59d5cbd112dbaa1299d4b93dcd99bace75e7 (patch) | |
tree | 098afcedce113388897e05242fa78f2faad66572 /include | |
parent | 87b582ef5b31c5893a470b61c217931fc7602da3 (diff) | |
download | platform_external_arm-trusted-firmware-a71c59d5cbd112dbaa1299d4b93dcd99bace75e7.tar.gz platform_external_arm-trusted-firmware-a71c59d5cbd112dbaa1299d4b93dcd99bace75e7.tar.bz2 platform_external_arm-trusted-firmware-a71c59d5cbd112dbaa1299d4b93dcd99bace75e7.zip |
arm: Fix current RECLAIM_INIT_CODE behavior
Previously the .init section was created even when the reclaim flag was
manually set to 0.
Change-Id: Ia9e7c7997261f54a4eca725d7ea605192f60bcf8
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
Zelalem Aweke <zelalem.aweke@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/arm/common/arm_reclaim_init.ld.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/plat/arm/common/arm_reclaim_init.ld.S b/include/plat/arm/common/arm_reclaim_init.ld.S index 8f22170fe..b5bf47365 100644 --- a/include/plat/arm/common/arm_reclaim_init.ld.S +++ b/include/plat/arm/common/arm_reclaim_init.ld.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -27,10 +27,9 @@ SECTIONS "BL31 init has exceeded progbits limit.") #endif -#if RECLAIM_INIT_CODE ASSERT(__INIT_CODE_END__ <= __STACKS_END__, "Init code ends past the end of the stacks") -#endif + } #endif /* ARM_RECLAIM_INIT_LD_S */ |