Skip to content
GitLab
Menu
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
f5c1eed2
Unverified
Commit
f5c1eed2
authored
Mar 07, 2018
by
davidcunado-arm
Committed by
GitHub
Mar 07, 2018
Browse files
Merge pull request #1302 from hzhuang1/fix_build
Fix build with clang on hikey
parents
dbf9f283
84b589c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
plat/hisilicon/hikey/hikey_bl1_setup.c
View file @
f5c1eed2
...
...
@@ -572,7 +572,7 @@ image_desc_t *bl1_plat_get_image_desc(unsigned int image_id)
void
bl1_plat_set_ep_info
(
unsigned
int
image_id
,
entry_point_info_t
*
ep_info
)
{
u
nsigned
in
t
data
=
0
;
u
int64_
t
data
=
0
;
if
(
image_id
==
BL2_IMAGE_ID
)
return
;
...
...
@@ -583,7 +583,7 @@ void bl1_plat_set_ep_info(unsigned int image_id,
__asm__
volatile
(
"msr cpacr_el1, %0"
:
:
"r"
(
data
));
__asm__
volatile
(
"mrs %0, cpacr_el1"
:
"=r"
(
data
));
}
while
((
data
&
(
3
<<
20
))
!=
(
3
<<
20
));
INFO
(
"cpacr_el1:0x%x
\n
"
,
data
);
INFO
(
"cpacr_el1:0x%
l
x
\n
"
,
data
);
ep_info
->
args
.
arg0
=
0xffff
&
read_mpidr
();
ep_info
->
spsr
=
SPSR_64
(
MODE_EL1
,
MODE_SP_ELX
,
...
...
plat/hisilicon/hikey960/drivers/pwrc/hisi_pwrc.c
View file @
f5c1eed2
...
...
@@ -287,9 +287,9 @@ void hisi_enable_pdc(unsigned int cluster)
mmio_write_32
((
uintptr_t
)
pdc_base_addr
,
0x1
);
}
static
inline
void
hisi_pdc_set_intmask
(
void
*
pdc_base_addr
,
unsigned
int
core
,
enum
pdc_finish_int_mask
intmask
)
void
hisi_pdc_set_intmask
(
void
*
pdc_base_addr
,
unsigned
int
core
,
enum
pdc_finish_int_mask
intmask
)
{
unsigned
int
val
;
...
...
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