aboutsummaryrefslogtreecommitdiff
path: root/plat/socionext/uniphier/include/platform_def.h
diff options
context:
space:
mode:
authorDeepika Bhavnani <deepika.bhavnani@arm.com>2019-12-13 10:51:28 -0600
committerSoby Mathew <soby.mathew@arm.com>2020-01-24 13:15:26 +0000
commit50dae22e250f1f7f3506098521ed831fb4a7e3e5 (patch)
treece5a04b7f731fed171ab80e5f73035c5239aa252 /plat/socionext/uniphier/include/platform_def.h
parentb55d71bab1c4608474ab632d2120751d12ed61b3 (diff)
downloadtrusted-firmware-a-50dae22e250f1f7f3506098521ed831fb4a7e3e5.tar.gz
socionext: Unify Platform specific defines for PSCI module
PLATFORM_CORE_COUNT - Unsigned int PLATFORM_CLUSTER_COUNT - Unsigned int PLATFORM_MAX_CPUS_PER_CLUSTER - Unsigned int PLATFORM_CORE_COUNT_PER_CLUSTER - Unsigned int Signed-off-by: Deepika Bhavnani <deepika.bhavnani@arm.com> Change-Id: Iad91e99e9d13254de23eb10e5f655253f253cf0d
Diffstat (limited to 'plat/socionext/uniphier/include/platform_def.h')
-rw-r--r--plat/socionext/uniphier/include/platform_def.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/plat/socionext/uniphier/include/platform_def.h b/plat/socionext/uniphier/include/platform_def.h
index d4db3f5b0b..f5e7611224 100644
--- a/plat/socionext/uniphier/include/platform_def.h
+++ b/plat/socionext/uniphier/include/platform_def.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -17,8 +17,8 @@
#define CACHE_WRITEBACK_GRANULE (1 << (CACHE_WRITEBACK_SHIFT))
/* topology */
-#define UNIPHIER_MAX_CPUS_PER_CLUSTER 4
-#define UNIPHIER_CLUSTER_COUNT 2
+#define UNIPHIER_MAX_CPUS_PER_CLUSTER U(4)
+#define UNIPHIER_CLUSTER_COUNT U(2)
#define PLATFORM_CORE_COUNT \
((UNIPHIER_MAX_CPUS_PER_CLUSTER) * (UNIPHIER_CLUSTER_COUNT))