diff options
author | Marc Zyngier <marc.zyngier@arm.com> | 2014-07-12 14:24:02 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2014-07-28 17:07:23 +0200 |
commit | bf433afd60ce2ccd1bec3cf14150323be8272ac3 (patch) | |
tree | 1dd1eb0cd86852ac01e6ca5b39978a1358c123b5 /arch/arm/lib/sections.c | |
parent | b726d22da9aed61462e36aa722fa4e6fd0aec9f1 (diff) | |
download | u-boot-imx-bf433afd60ce2ccd1bec3cf14150323be8272ac3.zip u-boot-imx-bf433afd60ce2ccd1bec3cf14150323be8272ac3.tar.gz u-boot-imx-bf433afd60ce2ccd1bec3cf14150323be8272ac3.tar.bz2 |
ARM: HYP/non-sec: add separate section for secure code
In anticipation of refactoring the HYP/non-secure code to run
from secure RAM, add a new linker section that will contain that
code.
Nothing is using it just yet.
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/lib/sections.c')
-rw-r--r-- | arch/arm/lib/sections.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/lib/sections.c b/arch/arm/lib/sections.c index 5b30bcb..a1205c3 100644 --- a/arch/arm/lib/sections.c +++ b/arch/arm/lib/sections.c @@ -25,4 +25,6 @@ char __image_copy_start[0] __attribute__((section(".__image_copy_start"))); char __image_copy_end[0] __attribute__((section(".__image_copy_end"))); char __rel_dyn_start[0] __attribute__((section(".__rel_dyn_start"))); char __rel_dyn_end[0] __attribute__((section(".__rel_dyn_end"))); +char __secure_start[0] __attribute__((section(".__secure_start"))); +char __secure_end[0] __attribute__((section(".__secure_end"))); char _end[0] __attribute__((section(".__end"))); |