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
3465ab60
Commit
3465ab60
authored
Jun 20, 2017
by
davidcunado-arm
Committed by
GitHub
Jun 20, 2017
Browse files
Merge pull request #991 from davidcunado-arm/dc/update_hikey
hikey960: migrate to use A53 specific defines
parents
6de8b24f
0d5eb656
Changes
1
Hide whitespace changes
Inline
Side-by-side
plat/hisilicon/hikey960/aarch64/hikey960_helpers.S
View file @
3465ab60
...
...
@@ -144,10 +144,10 @@ endfunc plat_reset_handler
*
-----------------------------------------------------
*/
func
set_retention_ticks
mrs
x0
,
C
PU
ECTLR_EL1
bic
x0
,
x0
,
#
C
PU
ECTLR_CPU_RET_CTRL_MASK
mrs
x0
,
C
ORTEX_A53_
ECTLR_EL1
bic
x0
,
x0
,
#
C
ORTEX_A53_
ECTLR_CPU_RET_CTRL_MASK
orr
x0
,
x0
,
#
RETENTION_ENTRY_TICKS_8
msr
C
PU
ECTLR_EL1
,
x0
msr
C
ORTEX_A53_
ECTLR_EL1
,
x0
isb
dsb
sy
ret
...
...
@@ -159,9 +159,9 @@ endfunc set_retention_ticks
*
-----------------------------------------------------
*/
func
clr_retention_ticks
mrs
x0
,
C
PU
ECTLR_EL1
bic
x0
,
x0
,
#
C
PU
ECTLR_CPU_RET_CTRL_MASK
msr
C
PU
ECTLR_EL1
,
x0
mrs
x0
,
C
ORTEX_A53_
ECTLR_EL1
bic
x0
,
x0
,
#
C
ORTEX_A53_
ECTLR_CPU_RET_CTRL_MASK
msr
C
ORTEX_A53_
ECTLR_EL1
,
x0
isb
dsb
sy
ret
...
...
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