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
1 parent d537ee7 commit ab4df50c23b92cd344fe1e36cdd0e6e9c3d9aff6
@Pankaj Gupta Pankaj Gupta authored on 15 Oct 2019
Showing 3 changed files
View
lib/psci/psci_common.c
View
lib/psci/psci_private.h
View
lib/psci/psci_setup.c