aboutsummaryrefslogtreecommitdiff
path: root/el1/secure/el1_sec.c
diff options
context:
space:
mode:
Diffstat (limited to 'el1/secure/el1_sec.c')
-rw-r--r--el1/secure/el1_sec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/el1/secure/el1_sec.c b/el1/secure/el1_sec.c
index 7f11670..a2b7763 100644
--- a/el1/secure/el1_sec.c
+++ b/el1/secure/el1_sec.c
@@ -9,8 +9,8 @@ uintptr_t EL1_S_DATA_BASE = (uintptr_t)&_EL1_S_DATA_BASE;
uintptr_t EL1_S_TEXT_SIZE = (uintptr_t)&_EL1_S_TEXT_SIZE;
uintptr_t EL1_S_DATA_SIZE = (uintptr_t)&_EL1_S_DATA_SIZE;
-const char *sec_state_str = "secure";
-const uint32_t secure_state = SECURE;
+char *sec_state_str[] = {"secure", "nonsecure"};
+uint32_t secure_state = SECURE;
const uint32_t exception_level = EL1;
#if REMOVE_OR_INTEGRATE