Cortex-Axx: Unconditionally apply CPU reset operations
authorSandrine Bailleux <sandrine.bailleux@arm.com>
Fri, 29 Jan 2016 14:37:58 +0000 (14:37 +0000)
committerSandrine Bailleux <sandrine.bailleux@arm.com>
Mon, 8 Feb 2016 09:31:18 +0000 (09:31 +0000)
commitc66fad93caca3ceb8b4dffb7cc8fd13090c12281
treee3d8e564d2b11323bcc03f1f0865e3fb407f504f
parent54035fc4672aab046f3cf5288ce9870613bd713d
Cortex-Axx: Unconditionally apply CPU reset operations

In the Cortex-A35/A53/A57 CPUs library code, some of the CPU specific
reset operations are skipped if they have already been applied in a
previous invocation of the reset handler. This precaution is not
required, as all these operations can be reapplied safely.

This patch removes the unneeded test-before-set instructions in
the reset handler for these CPUs.

Change-Id: Ib175952c814dc51f1b5125f76ed6c06a22b95167
lib/cpus/aarch64/cortex_a35.S
lib/cpus/aarch64/cortex_a53.S
lib/cpus/aarch64/cortex_a57.S