summaryrefslogtreecommitdiff
path: root/lib/psci/psci_private.h
diff options
context:
space:
mode:
authorPankaj Gupta <pankaj.gupta@nxp.com>2019-10-15 15:44:45 +0530
committerPankaj Gupta <pankaj.gupta@nxp.com>2019-11-26 16:45:41 +0530
commitab4df50c23b92cd344fe1e36cdd0e6e9c3d9aff6 (patch)
tree1b3d0e27b1427c81df4d25e4e159b9df88545082 /lib/psci/psci_private.h
parentd537ee795c1390601428d6b5b3499d05b62ad271 (diff)
adding support to enable different personality of the same soc.
Same SoC has different personality by creating different number of: - cores - clusters. As a result, the platform specific power domain tree will be created after identify the personality of the SoC. Hence, platform specific power domain tree may not be same for all the personality of the soc. Thus, psci library code will deduce the 'plat_core_count', while populating the power domain tree topology and return the number of cores. PLATFORM_CORE_COUNT will still be valid for a SoC, such that psci_plat_core_count <= PLATFORM_CORE_COUNT. PLATFORM_CORE_COUNT will continued to be defined by platform to create the data structures. Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Change-Id: I1f5c47647631cae2dcdad540d64cf09757db7185
Diffstat (limited to 'lib/psci/psci_private.h')
-rw-r--r--lib/psci/psci_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/psci/psci_private.h b/lib/psci/psci_private.h
index b49847c95..0f25e6563 100644
--- a/lib/psci/psci_private.h
+++ b/lib/psci/psci_private.h
@@ -251,6 +251,7 @@ extern const plat_psci_ops_t *psci_plat_pm_ops;
extern non_cpu_pd_node_t psci_non_cpu_pd_nodes[PSCI_NUM_NON_CPU_PWR_DOMAINS];
extern cpu_pd_node_t psci_cpu_pd_nodes[PLATFORM_CORE_COUNT];
extern unsigned int psci_caps;
+extern unsigned int psci_plat_core_count;
/*******************************************************************************
* SPD's power management hooks registered with PSCI