Browse Source
Merge pull request #1321 from sandrine-bailleux-arm/topics/sb/fix-trusty-setup
Trusty: Fix sanity check on NS entry point
pull/1330/head
davidcunado-arm
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
services/spd/trusty/trusty.c
|
@ -451,7 +451,7 @@ static int32_t trusty_setup(void) |
|
|
uint32_t spsr; |
|
|
uint32_t spsr; |
|
|
|
|
|
|
|
|
ns_ep_info = bl31_plat_get_next_image_ep_info(NON_SECURE); |
|
|
ns_ep_info = bl31_plat_get_next_image_ep_info(NON_SECURE); |
|
|
if (!ep_info) { |
|
|
if (ns_ep_info == NULL) { |
|
|
NOTICE("Trusty: non-secure image missing.\n"); |
|
|
NOTICE("Trusty: non-secure image missing.\n"); |
|
|
return -1; |
|
|
return -1; |
|
|
} |
|
|
} |
|
|