aboutsummaryrefslogtreecommitdiff
path: root/bl31
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2014-05-06 17:57:34 +0100
committerdanh-arm <dan.handley@arm.com>2014-05-06 17:57:34 +0100
commite404d7f44a190b82332bb96daffa0c6239732218 (patch)
tree3a9c8494e30f1d7475dbc69edef172a37f036594 /bl31
parent408c37682a0233c8c4fa88700b603f0b09d6361f (diff)
parent625de1d4f04b30383354bee944d0a7ca3dba1e67 (diff)
downloadarm-trusted-firmware-e404d7f44a190b82332bb96daffa0c6239732218.tar.gz
Merge pull request #49 from danh-arm/dh/remove-non-const-data
Remove variables from .data section
Diffstat (limited to 'bl31')
-rw-r--r--bl31/bl31_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bl31/bl31_main.c b/bl31/bl31_main.c
index cf826d0..01f00f2 100644
--- a/bl31/bl31_main.c
+++ b/bl31/bl31_main.c
@@ -50,7 +50,7 @@ static int32_t (*bl32_init)(meminfo_t *);
* Variable to indicate whether next image to execute after BL31 is BL33
* (non-secure & default) or BL32 (secure).
******************************************************************************/
-static uint32_t next_image_type = NON_SECURE;
+static uint32_t next_image_type;
/*******************************************************************************
* Simple function to initialise all BL31 helper libraries.
@@ -100,6 +100,7 @@ void bl31_main(void)
assert(cm_get_context(mpidr, NON_SECURE));
cm_set_next_eret_context(NON_SECURE);
write_vbar_el3((uint64_t) runtime_exceptions);
+ next_image_type = NON_SECURE;
/*
* All the cold boot actions on the primary cpu are done. We now need to