hikey: fix for CPU topology

Fix for CPU topology so present the CPU core numbers for two clusters;
Base on this fixing, the PSCI can maintain correct power states.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
This commit is contained in:
Leo Yan 2017-05-27 13:12:40 +08:00 committed by Haojian Zhuang
parent 572e141327
commit a63db3ec45
1 changed files with 4 additions and 2 deletions

View File

@ -18,8 +18,10 @@ const unsigned char hikey_power_domain_tree_desc[] = {
1,
/* Number of clusters */
PLATFORM_CLUSTER_COUNT,
/* Number of CPU cores */
PLATFORM_CORE_COUNT
/* Number of children for the first cluster node */
PLATFORM_CORE_COUNT_PER_CLUSTER,
/* Number of children for the second cluster node */
PLATFORM_CORE_COUNT_PER_CLUSTER,
};
/*******************************************************************************