diff options
author | Dan Handley <dan.handley@arm.com> | 2014-04-15 12:25:28 +0100 |
---|---|---|
committer | Dan Handley <dan.handley@arm.com> | 2014-04-16 17:17:25 +0100 |
commit | 9e1c4bd2960975d53feebb63fac2474eacca3369 (patch) | |
tree | 7111568b779a22a8c6b33b83870a86fa86ae37c2 | |
parent | 7640b47342eb779c92cf011b532168fa3ea0d99b (diff) |
Remove redundant code from bl1_plat_helpers.S
Remove redundant code in plat_secondary_cold_boot_setup() in
plat/fvp/aarch64/bl1_plat_helpers.S.
Fixes ARM-software/tf-issues#136
Change-Id: I98c0a46d95cfea33125e34e609c83dc2c97cd86e
-rw-r--r-- | plat/fvp/aarch64/bl1_plat_helpers.S | 8 |
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 fad37aff..15e3a21c 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 |