Commit bc1a42b7 authored by danh-arm's avatar danh-arm
Browse files

Merge pull request #44 from danh-arm/dh/tf-issues#136

Remove redundant code from bl1_plat_helpers.S
parents 19c72525 9e1c4bd2
...@@ -59,11 +59,6 @@ ...@@ -59,11 +59,6 @@
* ----------------------------------------------------- * -----------------------------------------------------
*/ */
func plat_secondary_cold_boot_setup func plat_secondary_cold_boot_setup
bl read_mpidr
mov x19, x0
bl platform_get_core_pos
mov x20, x0
/* --------------------------------------------- /* ---------------------------------------------
* Power down this cpu. * Power down this cpu.
* TODO: Do we need to worry about powering the * TODO: Do we need to worry about powering the
...@@ -72,8 +67,9 @@ func plat_secondary_cold_boot_setup ...@@ -72,8 +67,9 @@ func plat_secondary_cold_boot_setup
* loader zeroes out the zi section. * loader zeroes out the zi section.
* --------------------------------------------- * ---------------------------------------------
*/ */
bl read_mpidr
ldr x1, =PWRC_BASE ldr x1, =PWRC_BASE
str w19, [x1, #PPOFFR_OFF] str w0, [x1, #PPOFFR_OFF]
/* --------------------------------------------- /* ---------------------------------------------
* Deactivate the gic cpu interface as well * Deactivate the gic cpu interface as well
......
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