aboutsummaryrefslogtreecommitdiff
path: root/plat/juno/aarch64/bl1_plat_helpers.S
diff options
context:
space:
mode:
Diffstat (limited to 'plat/juno/aarch64/bl1_plat_helpers.S')
-rw-r--r--plat/juno/aarch64/bl1_plat_helpers.S5
1 files changed, 2 insertions, 3 deletions
diff --git a/plat/juno/aarch64/bl1_plat_helpers.S b/plat/juno/aarch64/bl1_plat_helpers.S
index 65b26cf..16f18a2 100644
--- a/plat/juno/aarch64/bl1_plat_helpers.S
+++ b/plat/juno/aarch64/bl1_plat_helpers.S
@@ -85,8 +85,6 @@ func platform_get_entrypoint
*/
func platform_cold_boot_init
mov x20, x0
- bl read_mpidr
- mov x19, x0
/* ---------------------------------------------
* Give ourselves a small coherent stack to
@@ -94,6 +92,7 @@ func platform_cold_boot_init
* CCI in assembler
* ---------------------------------------------
*/
+ mrs x0, mpidr_el1
bl platform_set_coherent_stack
/* ---------------------------------------------
@@ -112,7 +111,7 @@ func platform_cold_boot_init
* -IS-WBWA memory
* ---------------------------------------------
*/
- mov x0, x19
+ mrs x0, mpidr_el1
bl platform_set_stack
/* ---------------------------------------------