aboutsummaryrefslogtreecommitdiffstats
path: root/bl2u/bl2u_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'bl2u/bl2u_main.c')
-rw-r--r--bl2u/bl2u_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bl2u/bl2u_main.c b/bl2u/bl2u_main.c
index d49c9ce9e..fcb73b9c7 100644
--- a/bl2u/bl2u_main.c
+++ b/bl2u/bl2u_main.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2015-2020, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -34,7 +34,7 @@ void bl2u_main(void)
int rc;
/* Load the subsequent bootloader images */
rc = bl2u_plat_handle_scp_bl2u();
- if (rc) {
+ if (rc != 0) {
ERROR("Failed to load SCP_BL2U (%i)\n", rc);
panic();
}