summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-07-05 13:45:06 (GMT)
committerHans de Goede <hdegoede@redhat.com>2016-07-15 13:54:58 (GMT)
commita5aa7ff33a942ce8ea38006fd5225a800827bb2c (patch)
tree6f3580d752c60a439c1f7bd20f6046bb8155dc26 /arch/arm/include
parentafc1f65f504324cd5f87a8cb480bebeb0c61e4e0 (diff)
downloadu-boot-a5aa7ff33a942ce8ea38006fd5225a800827bb2c.tar.xz
ARM: Add secure section for initialized data
The secure monitor may need to store global or static values within the secure section of memory, such as target PC or CPU power status. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/secure.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/secure.h b/arch/arm/include/asm/secure.h
index 6d9088b..5a403bc 100644
--- a/arch/arm/include/asm/secure.h
+++ b/arch/arm/include/asm/secure.h
@@ -4,6 +4,7 @@
#include <config.h>
#define __secure __attribute__ ((section ("._secure.text")))
+#define __secure_data __attribute__ ((section ("._secure.data")))
#ifdef CONFIG_ARMV7_SECURE_BASE
/*