Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
a1d1d24b
Unverified
Commit
a1d1d24b
authored
6 years ago
by
Antonio Niño Díaz
Committed by
GitHub
6 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1781 from dtwlin/m2
spd: trusty: trusty_setup should bail on unknown image
parents
72106f82
d19c3438
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/spd/trusty/trusty.c
+2
-1
services/spd/trusty/trusty.c
with
2 additions
and
1 deletion
+2
-1
services/spd/trusty/trusty.c
View file @
a1d1d24b
...
...
@@ -420,7 +420,8 @@ static int32_t trusty_setup(void)
}
else
if
(
instr
>>
8
==
0xd53810U
||
instr
>>
16
==
0x9400U
)
{
INFO
(
"trusty: Found 64 bit image
\n
"
);
}
else
{
NOTICE
(
"trusty: Found unknown image, 0x%x
\n
"
,
instr
);
ERROR
(
"trusty: Found unknown image, 0x%x
\n
"
,
instr
);
return
-
1
;
}
SET_PARAM_HEAD
(
ep_info
,
PARAM_EP
,
VERSION_1
,
SECURE
|
EP_ST_ENABLE
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help