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
8ef782df
Commit
8ef782df
authored
7 years ago
by
Arve Hjønnevåg
Browse files
Options
Download
Email Patches
Plain Diff
trusty: Change type of aarch32 flag t bool
Change-Id: Ie4f937808d24c9b45066c6582c4eee61699ef6df
parent
06ff251e
master
v2.5
v2.5-rc1
v2.5-rc0
v2.4
v2.4-rc2
v2.4-rc1
v2.4-rc0
v2.3
v2.3-rc2
v2.3-rc1
v2.3-rc0
v2.2
v2.2-rc2
v2.2-rc1
v2.2-rc0
v2.1
v2.1-rc1
v2.1-rc0
v2.0
v2.0-rc0
v1.6
v1.6-rc1
v1.6-rc0
v1.5
v1.5-rc3
v1.5-rc2
arm_cca_v0.2
arm_cca_v0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
services/spd/trusty/trusty.c
+3
-2
services/spd/trusty/trusty.c
with
3 additions
and
2 deletions
+3
-2
services/spd/trusty/trusty.c
View file @
8ef782df
...
...
@@ -13,6 +13,7 @@
#include <interrupt_mgmt.h>
#include <platform.h>
#include <runtime_svc.h>
#include <stdbool.h>
#include <string.h>
#include "sm_err.h"
...
...
@@ -397,7 +398,7 @@ static int32_t trusty_setup(void)
uint32_t
instr
;
uint32_t
flags
;
int
ret
;
int
aarch32
=
0
;
bool
aarch32
=
false
;
/* Get trusty's entry point info */
ep_info
=
bl31_plat_get_next_image_ep_info
(
SECURE
);
...
...
@@ -410,7 +411,7 @@ static int32_t trusty_setup(void)
if
(
instr
>>
24
==
0xea
)
{
INFO
(
"trusty: Found 32 bit image
\n
"
);
aarch32
=
1
;
aarch32
=
true
;
}
else
if
(
instr
>>
8
==
0xd53810
||
instr
>>
16
==
0x9400
)
{
INFO
(
"trusty: Found 64 bit image
\n
"
);
}
else
{
...
...
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