mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
afc1f65f50
commit
a5aa7ff33a
3 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue