aboutsummaryrefslogtreecommitdiffstats
path: root/bl31/bl31_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'bl31/bl31_main.c')
-rw-r--r--bl31/bl31_main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bl31/bl31_main.c b/bl31/bl31_main.c
index ff3c53b57..68bdd367f 100644
--- a/bl31/bl31_main.c
+++ b/bl31/bl31_main.c
@@ -51,7 +51,7 @@ static int32_t (*bl32_init)(void);
* Variable to indicate whether next image to execute after BL31 is BL33
* (non-secure & default) or BL32 (secure).
******************************************************************************/
-static uint32_t next_image_type;
+static uint32_t next_image_type = NON_SECURE;
/*******************************************************************************
* Simple function to initialise all BL31 helper libraries.
@@ -89,9 +89,6 @@ void bl31_main(void)
/* Clean caches before re-entering normal world */
dcsw_op_all(DCCSW);
- /* By default run the non-secure BL3-3 image next */
- next_image_type = NON_SECURE;
-
/*
* All the cold boot actions on the primary cpu are done. We now need to
* decide which is the next image (BL32 or BL33) and how to execute it.