aboutsummaryrefslogtreecommitdiff
path: root/plat
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2014-04-22 11:01:58 +0100
committerdanh-arm <dan.handley@arm.com>2014-04-22 11:01:58 +0100
commitbc1a42b7c26beae06b672e5d3e51223592410ee6 (patch)
treeb23c6d5cce9ad5ceef93aab29df9b97d1de7b030 /plat
parent19c72525fb17fe9e00cfeb1d12fa00739f5f6579 (diff)
parent9e1c4bd2960975d53feebb63fac2474eacca3369 (diff)
downloadarm-trusted-firmware-bc1a42b7c26beae06b672e5d3e51223592410ee6.tar.gz
Merge pull request #44 from danh-arm/dh/tf-issues#136
Remove redundant code from bl1_plat_helpers.S
Diffstat (limited to 'plat')
-rw-r--r--plat/fvp/aarch64/bl1_plat_helpers.S8
1 files changed, 2 insertions, 6 deletions
diff --git a/plat/fvp/aarch64/bl1_plat_helpers.S b/plat/fvp/aarch64/bl1_plat_helpers.S
index fad37af..15e3a21 100644
--- a/plat/fvp/aarch64/bl1_plat_helpers.S
+++ b/plat/fvp/aarch64/bl1_plat_helpers.S
@@ -59,11 +59,6 @@
* -----------------------------------------------------
*/
func plat_secondary_cold_boot_setup
- bl read_mpidr
- mov x19, x0
- bl platform_get_core_pos
- mov x20, x0
-
/* ---------------------------------------------
* Power down this cpu.
* TODO: Do we need to worry about powering the
@@ -72,8 +67,9 @@ func plat_secondary_cold_boot_setup
* loader zeroes out the zi section.
* ---------------------------------------------
*/
+ bl read_mpidr
ldr x1, =PWRC_BASE
- str w19, [x1, #PPOFFR_OFF]
+ str w0, [x1, #PPOFFR_OFF]
/* ---------------------------------------------
* Deactivate the gic cpu interface as well