summaryrefslogtreecommitdiff
path: root/include/common
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2015-06-08 12:32:50 +0100
committerAchin Gupta <achin.gupta@arm.com>2015-08-13 23:48:07 +0100
commit58523c076a4bd766fccd207c493cf1b918fda9db (patch)
tree1b929799f1a48c5bd5415b78a765bfe77c719cfd /include/common
parentf9e858b1f7b27d8e0b89cc7e12e7a90755d0dd00 (diff)
PSCI: Add documentation and fix plat_is_my_cpu_primary()
This patch adds the necessary documentation updates to porting_guide.md for the changes in the platform interface mandated as a result of the new PSCI Topology and power state management frameworks. It also adds a new document `platform-migration-guide.md` to aid the migration of existing platform ports to the new API. The patch fixes the implementation and callers of plat_is_my_cpu_primary() to use w0 as the return parameter as implied by the function signature rather than x0 which was used previously. Change-Id: Ic11e73019188c8ba2bd64c47e1729ff5acdcdd5b
Diffstat (limited to 'include/common')
-rw-r--r--include/common/el3_common_macros.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/common/el3_common_macros.S b/include/common/el3_common_macros.S
index 3b960815..7946e728 100644
--- a/include/common/el3_common_macros.S
+++ b/include/common/el3_common_macros.S
@@ -181,7 +181,7 @@
* -------------------------------------------------------------
*/
bl plat_is_my_cpu_primary
- cbnz x0, do_primary_cold_boot
+ cbnz w0, do_primary_cold_boot
/* This is a cold boot on a secondary CPU */
bl plat_secondary_cold_boot_setup