summaryrefslogtreecommitdiff
path: root/services/std_svc/psci/psci_setup.c
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2015-02-25 09:54:41 -0800
committerdanh-arm <dan.handley@arm.com>2015-02-25 09:54:41 -0800
commit0412c66a9e5a55e960055d80e2ff604fadf1ca3e (patch)
treef0b7ba861146a522e1a672e2c307d8320b4deb5f /services/std_svc/psci/psci_setup.c
parentf578d5e1a3068fc0a9e6e1c9f024b89f945d691b (diff)
parent8c32bc26e7bc58f028c1b31dd226610d3d388237 (diff)
Merge pull request #259 from soby-mathew/sm/plat_max_afflvl
Export maximum affinity using PLATFORM_MAX_AFFLVL macro
Diffstat (limited to 'services/std_svc/psci/psci_setup.c')
-rw-r--r--services/std_svc/psci/psci_setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/std_svc/psci/psci_setup.c b/services/std_svc/psci/psci_setup.c
index 02a87865..5ff24d5b 100644
--- a/services/std_svc/psci/psci_setup.c
+++ b/services/std_svc/psci/psci_setup.c
@@ -107,7 +107,7 @@ aff_map_node_t *psci_get_aff_map_node(unsigned long mpidr, int aff_lvl)
{
int rc;
- if (aff_lvl > get_max_afflvl())
+ if (aff_lvl > PLATFORM_MAX_AFFLVL)
return NULL;
/* Right shift the mpidr to the required affinity level */
@@ -320,7 +320,7 @@ int32_t psci_setup(void)
psci_plat_pm_ops = NULL;
/* Find out the maximum affinity level that the platform implements */
- max_afflvl = get_max_afflvl();
+ max_afflvl = PLATFORM_MAX_AFFLVL;
assert(max_afflvl <= MPIDR_MAX_AFFLVL);
/*