Commit 0d5eb656 authored by David Cunado's avatar David Cunado
Browse files

hikey960: migrate to use A53 specific defines

The patch fb7d32e5

 migrated the CPU
libraries to have unique defines, prefixing them with the CPU name.

This patch migrates the hikey960 platform port to use the A53 specific
defines.

Change-Id: Id76f544b0b236bbd4974ab5ffa1203f073c20021
Signed-off-by: default avatarDavid Cunado <david.cunado@arm.com>
parent 0dc3c353
...@@ -144,10 +144,10 @@ endfunc plat_reset_handler ...@@ -144,10 +144,10 @@ endfunc plat_reset_handler
* ----------------------------------------------------- * -----------------------------------------------------
*/ */
func set_retention_ticks func set_retention_ticks
mrs x0, CPUECTLR_EL1 mrs x0, CORTEX_A53_ECTLR_EL1
bic x0, x0, #CPUECTLR_CPU_RET_CTRL_MASK bic x0, x0, #CORTEX_A53_ECTLR_CPU_RET_CTRL_MASK
orr x0, x0, #RETENTION_ENTRY_TICKS_8 orr x0, x0, #RETENTION_ENTRY_TICKS_8
msr CPUECTLR_EL1, x0 msr CORTEX_A53_ECTLR_EL1, x0
isb isb
dsb sy dsb sy
ret ret
...@@ -159,9 +159,9 @@ endfunc set_retention_ticks ...@@ -159,9 +159,9 @@ endfunc set_retention_ticks
* ----------------------------------------------------- * -----------------------------------------------------
*/ */
func clr_retention_ticks func clr_retention_ticks
mrs x0, CPUECTLR_EL1 mrs x0, CORTEX_A53_ECTLR_EL1
bic x0, x0, #CPUECTLR_CPU_RET_CTRL_MASK bic x0, x0, #CORTEX_A53_ECTLR_CPU_RET_CTRL_MASK
msr CPUECTLR_EL1, x0 msr CORTEX_A53_ECTLR_EL1, x0
isb isb
dsb sy dsb sy
ret ret
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment