diff options
Diffstat (limited to 'bl2')
-rw-r--r-- | bl2/bl2_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bl2/bl2_main.c b/bl2/bl2_main.c index 71940a62..404744b7 100644 --- a/bl2/bl2_main.c +++ b/bl2/bl2_main.c @@ -34,6 +34,7 @@ #include <auth_mod.h> #include <bl_common.h> #include <debug.h> +#include <errno.h> #include <platform.h> #include <platform_def.h> #include <stdint.h> @@ -239,7 +240,7 @@ void bl2_main(void) e = load_bl32(bl2_to_bl31_params); if (e) { - if (e == LOAD_AUTH_ERR) { + if (e == -EAUTH) { ERROR("Failed to authenticate BL3-2\n"); panic(); } else { |