aboutsummaryrefslogtreecommitdiff
path: root/plat/ti/k3
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2018-06-25 12:10:53 -0500
committerAndrew F. Davis <afd@ti.com>2018-06-29 16:49:21 -0500
commit79a1a84957f65dab7a3d535a7f6df392884e157d (patch)
tree3938b550e365e9aa13c89bdd53ac2da94d8c0863 /plat/ti/k3
parentd5a0491c811d7e7558c0f7b14c805d804721c854 (diff)
downloadarm-trusted-firmware-79a1a84957f65dab7a3d535a7f6df392884e157d.tar.gz
ti: k3: common: Add root domain node to platform topology
Actions may need to be taken by the last core when all clusters have been shutdown. Add a top level root domain node to coordinate this between clusters. Signed-off-by: Andrew F. Davis <afd@ti.com>
Diffstat (limited to 'plat/ti/k3')
-rw-r--r--plat/ti/k3/common/k3_topology.c1
-rw-r--r--plat/ti/k3/include/platform_def.h5
2 files changed, 4 insertions, 2 deletions
diff --git a/plat/ti/k3/common/k3_topology.c b/plat/ti/k3/common/k3_topology.c
index a77c8f34c..d7ac0a589 100644
--- a/plat/ti/k3/common/k3_topology.c
+++ b/plat/ti/k3/common/k3_topology.c
@@ -9,6 +9,7 @@
/* The power domain tree descriptor */
static unsigned char power_domain_tree_desc[] = {
+ PLATFORM_SYSTEM_COUNT,
PLATFORM_CLUSTER_COUNT,
K3_CLUSTER0_CORE_COUNT,
#if K3_CLUSTER1_MSMC_PORT != UNUSED
diff --git a/plat/ti/k3/include/platform_def.h b/plat/ti/k3/include/platform_def.h
index 8856af2ca..ebc9c4770 100644
--- a/plat/ti/k3/include/platform_def.h
+++ b/plat/ti/k3/include/platform_def.h
@@ -62,9 +62,10 @@
#define PLATFORM_CLUSTER_OFFSET K3_CLUSTER0_MSMC_PORT
-#define PLAT_NUM_PWR_DOMAINS (PLATFORM_CLUSTER_COUNT + \
+#define PLAT_NUM_PWR_DOMAINS (PLATFORM_SYSTEM_COUNT + \
+ PLATFORM_CLUSTER_COUNT + \
PLATFORM_CORE_COUNT)
-#define PLAT_MAX_PWR_LVL MPIDR_AFFLVL1
+#define PLAT_MAX_PWR_LVL MPIDR_AFFLVL2
/*******************************************************************************
* Memory layout constants