diff options
author | Leo Yan <leo.yan@linaro.org> | 2017-05-27 13:12:40 +0800 |
---|---|---|
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | 2017-05-31 13:19:05 +0800 |
commit | a63db3ec45bcf9782792dba1ebfdb37faa7a4406 (patch) | |
tree | e84bf9a77f0d3498ce615af6749bf70c72c80ebe /plat/hisilicon | |
parent | 572e14132706377530ea9f9ba4cd1fcb4b2b9479 (diff) |
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>
Diffstat (limited to 'plat/hisilicon')
-rw-r--r-- | plat/hisilicon/hikey/hikey_topology.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plat/hisilicon/hikey/hikey_topology.c b/plat/hisilicon/hikey/hikey_topology.c index 37ea20ad..95948b8d 100644 --- a/plat/hisilicon/hikey/hikey_topology.c +++ b/plat/hisilicon/hikey/hikey_topology.c @@ -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, }; /******************************************************************************* |