diff options
author | Soby Mathew <soby.mathew@arm.com> | 2015-06-08 12:32:50 +0100 |
---|---|---|
committer | Achin Gupta <achin.gupta@arm.com> | 2015-08-13 23:48:07 +0100 |
commit | 58523c076a4bd766fccd207c493cf1b918fda9db (patch) | |
tree | 1b929799f1a48c5bd5415b78a765bfe77c719cfd /plat/arm/css/common | |
parent | f9e858b1f7b27d8e0b89cc7e12e7a90755d0dd00 (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 'plat/arm/css/common')
-rw-r--r-- | plat/arm/css/common/aarch64/css_helpers.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/arm/css/common/aarch64/css_helpers.S b/plat/arm/css/common/aarch64/css_helpers.S index 5d5bf863..05bd8647 100644 --- a/plat/arm/css/common/aarch64/css_helpers.S +++ b/plat/arm/css/common/aarch64/css_helpers.S @@ -77,7 +77,7 @@ endfunc plat_get_my_entrypoint * Function to calculate the core position by * swapping the cluster order. This is necessary in order to * match the format of the boot information passed by the SCP - * and read in platform_is_primary_cpu below. + * and read in plat_is_my_cpu_primary below. * ----------------------------------------------------------- */ func plat_arm_calc_core_pos @@ -102,6 +102,6 @@ func plat_is_my_cpu_primary ldr x1, [x1] ubfx x1, x1, #PRIMARY_CPU_SHIFT, #PRIMARY_CPU_BIT_WIDTH cmp x0, x1 - cset x0, eq + cset w0, eq ret x9 endfunc plat_is_my_cpu_primary |